Mondoze Knowledge Base

Search our articles or browse by category below

Password Protect a directory cPanel htpasswd

Last modified: October 11, 2022
You are here:
  • KB Home
  • Password Protect a directory cPanel htpasswd
Estimated reading time: < 1 min

Password Protect a directory cPanel htpasswd

  • Log into cPanel. 

  • Go to the Files section and click on the Directory Privacy icon.
  • 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.
  • Next, click on the checkbox labeled Password protect the directory. Makes sure you have a name for the folder you are going to protect.
  • Click on Save in order to save the name you have entered for the directory and option to password protect the directory.

Next create a user to access the protected directory.

  • Click Save in order to save the user that you have edited.
Was this article helpful?
Dislike 0
Views: 51