1. Home
  2. Knowledge Base
  3. Hosting Management
  4. cPanel
  5. How to Setup Directory Privacy in cPanel

How to Setup Directory Privacy in cPanel

In the realm of web hosting, securing sensitive directories is vital for safeguarding online content. cPanel’s Directory Privacy feature offers a robust solution. This guide walks you through implementing Directory Privacy, empowering you to restrict access to specific directories and enhance the security of your data.

Step 1: Login to Cpanel

How-to-setup-Directory-Privacy-login-to-cpanel-interface

Step 2: Go to Files > Directory Privacy

How-to-setup-Directory-Privacy-Files-Directory-Privacy

Step 3: Choose the folder/directory you would like to protect and click on the Edit button right next to it

How-to-setup-Directory-Privacy-Edit-button

Step 4: Make sure that Password protect this directory checkbox is ticked. Enter the name for protected directory and click on the Save button

How-to-setup-Directory-Privacy-Password-protect-this-directory

Step 5: If you see this popup message you have successfully made changes to your folder

How-to-setup-Directory-Privacy-Success-Message

Step 6: Now click on the Go back button

How-to-setup-Directory-Privacy-Go-back-button

Step 7: Now we need to create a user for this particular folder. Enter the Create User details and click on Save

How-to-setup-Directory-Privacy-Create-User-Details

Step 8: If you see this popup message, you have successfully created a user for this folder. Now click on the Go back button

How-to-setup-Directory-Privacy-Create-User-Success-Message-and-go-back-Edit-button

Step 9: Now go back to the cpanel dashboard and go to Files > Directory Privacy and now check the folder you made changes to. If you see this particular icon, you have successfully made changes to your folder.

How-to-setup-Directory-Privacy-privacy-icon

Congratulations! You have learnt how to setup directory privacy in cPanel

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support