How to Setup Directory Privacy in cPanel Panel

April 5, 2022 / cPanel & WHM

The following article explains how to set up directory privacy in cPanel for directories with password. When you password-protect a directory, any directories beneath it are also password-protected.

Follow the steps:

1. Log in to cPanel.

cPanel

2. Click on the “Directory Privacy” option from the “Files” category.

Directory Privacy

3. Select the directory that you wanted to protect and click on the “Edit” button.

Edit
Directory

4. Tick the box next to the “Password protect this directory” option.

5. Enter the name.

6. Click on the “Save” button.

Save
DP

7. You will get a success message.

success

8. Click on the “Go back” button.

Go back

9. In the “Create User”, you can add the users by typing the username and password.

10. You can generate the password using the generator option.

11. Then finally click on the “Save” button.

Save

12. You will see the password has been set for the user “TWENTY” successfully.

TWENTY

13. You will see the “Authorized users” as shown in the image given below.

Authorized users

This way you can add multiple users to a password-protected directory.

Hope you found this article to be useful. But still, if you face any difficulty we are here to help you out. Just get in touch with eukhost support team.

Spread the love