How do I password protect directories?

To password protect a folder/directory, follow these steps 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 which you want to password protect

4. Click on the name of the folder

5. It will present you a form. It has two parts and you have to submit 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 step (b) for adding username/password. Browse to the same form and

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

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Do you have latest IonCube loaders installed on servers?

Yes Ioncube loader is installed on all of our shared, sdx and reseller servers. We have latest...

Is Netpbm installed on shared servers? What is the path?

Yes, Netpbm ( is installed and the binaries are available at this...

How do I customise the error pages?

All types of error pages can be customised to suit your web site design. To customise the error...

What are the types of web site statistics that you provide?

We provide the following types of web site statistics and reports: awstats, webalizer, latest...

How do I view the details of my bandwidth usage?

Bandwidth report shows how many bytes of transfer your account has done. Due to system...