/ Web Development

Article ID:  00163
Rating:  5.0 / 5.0 (2 votes)
Views:  1466
Created:  Jan-21-2005

Rating
Did you find this article helpful?


Email Article To A Friend

Print Article


How can I password protect a web site folder?

Issue

How can I password protect a section on my web site using HTTP authentication?

Solution

  1. Login to your control panel
  2. Select "File Manager"
  3. Select a folder underneath your web site docroot (i.e. under domains/yourdomain.com/public_html)
  4. In the "Action" column select "Protect" for the folder you wish to protect
  5. Check off "Enable", create a Login prompt, select a username and password
  6. Once completed press the "Save" button
  7. Your folder is now password protected

Once a folder is password protected you can modify your setting or add additonal users, by selecting "Password Protected Directories".

Related Articles