For cPanel & WHM 11.46
(Home >> Security >> Password Protect Directories)
Use this feature to configure a password that will protect certain directories of your account. If you enable this feature, a user who tries to open a protected folder will be prompted to enter a username and password before they can access the content.
Configure a password for a directory
To password protect a directory, perform the following steps:
Select the directory that you wish to lock with a password. Clickto navigate to a different folder. Click the folder name to select it.
Any subdirectories that are located in the directory that you select will also be password protected.
- Select the Password protect this directory checkbox.
Enter the name that you want visitors to see in the Name the protected directory text box.
The directory name can be anything, regardless of what the directory itself is named.
- Click Save.
After you complete this process, you must create a user that can access this directory.
To change the authorized user's password, perform the following steps:
- Reenter the user's information in the Create User form.
- In the Password text box, enter the new password you wish to save for that user.
- Click Add or Modify The Authorized User.
Remove password protection
To remove password protection from the directory, unselect the Password protect this directory checkbox in the Security Settings section and click Save.