How to Add Password Protection for a Directory in cPanel

April 7, 2022 / cPanel & WHM

In this article, we have explained how to password protect a directory in cPanel. File sharing that is password-protected improves the security of your sensitive folders and data.

Let us follow the steps:

  1. Log in to the cPanel account.
    cPanel login
  2. Select the “Files” section.
  3. Click on the “Directory Privacy” option under the files section.
    Directory privacy
  4. You will enter a new interface where you will find the list of all the directories.
  5. Select the directory and click on the “Edit” button.
    edit
  6. You will be directed to the “Directory Privacy” page.
  7. Select the “Password Protect this directory” check box.
  8. The name box will be activated if you click the password-protect check box.
  9. Enter the name of the directory to be protected.
  10. Finally, click on the “Save” button.
    add password protection
  11. You will receive the final success message.
    success
  12. You can see the symbol of a lock after the directory has been protected.
    protected

Wasn’t it useful? We hope now you will be able to password protect the directory in cPanel. Don’t forget to check our latest Web hosting plans.

Dominos Search