We have a new documentation site for cPanel & WHM! You can find our new documentation site at docs.cpanel.net.
We will continue to maintain our API documentation on this server.
For cPanel & WHM 11.48
(Home >> Security >> Password Protect Directories)
This feature allows you to protect certain directories of your account. If you enable this feature, the system prompts users for a username and password when they attempt to view content in a protected folder.
To password protect a directory, perform the following steps:
Select the directory that you wish to protect.
Click the appropriate folder icon () to navigate to a different folder.
Click the desired folder's name to select it.
A protected directory's subdirectories inherit their parent directory's password protection.
Enter a display label for the directory in the Name the protected directory text box.
This name is only a label for the directory, and you should not confuse it with the directory's actual name.
After you complete this process, you must create a user that can access this directory.
To create an authorized user for the directory, perform the following steps:
0indicates a weak password, while
100indicates a very secure password.
To change the authorized user's password, enter the user's information again in the Create User section of the interface, but enter a different password for the user.
To remove password protection from the directory, deselect the Password protect this directory checkbox in the Security Settings section of the interface and click Save.