How to Setup Directory Privacy in cPanel

March 22, 2023 / cPanel & WHM

In this article, we have explained how to setup directory privacy in cPanel for directories. You can password-protect downloads, files, or web pages that you only want certain people to have access to by using Directory Privacy. When you enable this function, anyone attempting to access content in a protected folder will be asked to enter a login and password.

To setup directory privacy in cPanel, follow the steps:

  1. Log in to cPanel panel.
  2. Select the “Directory Privacy” option under the “Files” category.
    files
  3. Select the directory that you desired to guard and click on the “Edit” button.
    directory privacy
  4. Tick the box next to the “Password protect this directory” option.
  5. Fill in the name.
  6. Click on the “Save” button.
    password
  7. You will get a success message.
  8. Click on the “Go back” button.
    success
  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.
    create user
  12. You will see the password has been set successfully.
    directory privacy
  13. You will see the “Authorised users” as shown in the image given below.
    Authorised user

In this manner, additional users may be added to a password-protected directory. We hope you liked our article. Nonetheless, if you run into any problems, we are available to assist you. Simply contact the WHUK’s support staff.

Dominos Search