Your Webhosting Questions
Answered by the Webhosting Experts

How to Protect the directories with Password in cPanel

1. Login to your control panel using your account username/password at

2. Click on “Password Protection” under Services

3. Browse to the folder in which you want to restrict access

4. Click on the name of the folder

5. It will present you with a form. It has two parts and you have to submit them both separately:

a) Allow access only to authorized users
[ ] Directory requires a password to access
Check the above box.
and Protected Resource Name: [ ] (enter a generic name of the protection such as “My Protected Folder”)

Submit and it will protect it. Now time for step ‘b’ for adding a username/password. Browse to the same form and

b) Add/modify authorized user and enter the username/password and save it.

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your account or if you are on the go, please reach out from your valid account email to us here at: We are also available to you through our phone and live chat system 24/7/365.