Use the Directory Privacy interface to limit access to certain resources on your website. Enable this feature to password-protect specific directories that you do not want to allow visitors to access.
(Home >> Files >> Directory Privacy)
This feature allows you to protect specific directories in your cPanel account's files. If you enable this feature, the system prompts users to log in when they attempt to view a protected folder.
To use this interface, you must first select a directory to manage.
You must perform these steps and click Save to enable this feature.
To password protect the selected directory, perform the following steps:
Select the Password protect this directory checkbox.
Note: To remove password protection from a directory, deselect the Password protect this directory checkbox. Then, click Save.
Enter a display label for the directory in the Enter a name for the protected directory text box.
Note: This name only functions as a label for the directory. Do 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 selected directory, perform the following steps:
0indicates a weak password, while
100indicates a very secure password.
Note: To change an existing user's password, enter the user's information and the new desired password. Then, click Save.
The Authorized Users menu lists the directory's existing authorized users. To delete a user, select that user and click Delete User. A confirmation message will appear. Click Go Back to return to the directory's configuration.