How to password protect a directory in cPanel

Description
  • Log into cPanel.
  • Go to Security section and click on Web protect option.
  • Click the folder you want to get protected in public_html.
  • Select checkbox for protection by password for the directory. Enter name for protected directory and click on Save button, when done. Directory will be protected and will require a password to enter through browser.
  • You need to create at least one user and assign them a password to access directory.
  • Go Back. Scroll down and go to create user section. Fill in the required fields and click on Add/Modify authorized user. The protected directory will have a user to access it. Repeat this process for more users (if required).
  • A lock button will be assigned to directory, meaning that it is protected by a password.

BACK TO HOSTING TUTORIALS

.......................................................

  I almost never use the word "Perfect", but here I want to say KVCHosting service is PERFECT! Even though it has been only one year I have been a customer of theirs, I can still say KVCHosting is the best and Perfect, without any doubts. Thanks for your service and fast responds. If you care about Customer Service and Stability, KVCHosting is the ideal place for you 

.......................................................

Charles Griffith
Senior Marketing Manager