10 Years
$100K Cash Giveaway
Every purchase gets
you in the draw to WIN!
More Info
View all Products Close Menu Menu
How may I password protect web directories/folders?
Updated Wednesday October 12th 2016 / Category Security

It is possible to add password protection to your web directories/folders, making it easy to lock things down whilst in development or when keeping pages away from the general public. Using password protection will set a username and password prompt for accessing a particular directory in web browsers. It sets up a htpasswd configuration.

  1. Login to your cPanel service.
  2. Click the Password Protect Directories icon.
  3. Select the folder you wish to protect.
  4. Check the “” tickbox.
  5. Enter a name for the word protected directory.
  6. Click Save.
  7. Now click “← Go Back”
  8. Under “Create User:” enter the username and password combination you wish to set.
  9. Click Add/Modify authorized user.

The password protection is now in place.

Can’t find the answers you're looking for? Check out these other methods of support!