How to use Directory Privacy in cPanel

How To password protect the selected directory

How To password protect the selected directory

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 protect the selected directory by password, perform the following steps:

1 – Open cPanel (yourdomain/cpanel).
2 – Click on (Directory Privacy) from Files section.
3 – select subdirectories.
4 – Select the Password protect this directory checkbox.
5 – Enter a display label for the directory in the Enter a name for the protected directory text box.
6 – Click Save. A confirmation message will appear. Click Go Back to return to the directory’s configuration.