Important Announcement: The cPanel prices have been revised, and the new pricing will take effect from January 1, 2025.
Please visit the cPanel Price Details for more information.

Use of Directory Privacy

You can set a password to protect certain directories of your account. When you enable this feature, a user that tries to open a protected folder will be prompted to enter a username and password before they can access your content.

Step 1 − Open Directory Privacy Configuration by clicking Directory Privacy in the Files Section.

Step 2 − Navigate within your directories to find the directory you want to protect. Use the icon on the left-hand side to open a directory.

Step 3 − Select the directory you want to protect by clicking on the name of the folder.

Step 4 − Select Password protect for this directory checkbox and enter a Label which you wish to display in the frontend, click Save to protect the directory.

Step 5 − To give access to users, you will need to create users. Enter username and password to create a new user, who will have access to this directory from the frontend.

Step 6 − Click Save to give access to this user. You can also create more than one user here.

If you now try to access your password-protected directory, you will get a prompt.


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 14361