Password Protect a directory cPanel htpasswd

  • Log into cPanel
  • Go to the Files section and click on the Directory Privacy icon


         pass_1



  • Select the directory you want to password protect and then you will see the Set Permissions screen appear. Here you can provide a name for the folder you're trying to protect.


         pass_2


  • Next, click on the checkbox labeled Password protect the directory. Makes sure you have a name for the folder you are going to protect.


        pass_3



  • Click on Save in order to save the name you have entered for the directory and option to password protect the directory.


pass_4

      


   Next create a user to access the protected directory



pass_6

  • Click Save in order to save the user that you have edited.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.