How to use Directory Privacy in cPanel
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: