Accredited Registrar Accredited Registrar

Frequently Asked Question

FAQ / Linux Shared Hosting

How do I Password Protect a directory in control panel cPanel ?

Follow the below steps to Password Protect a directory in control panel (cpanel):

Step 1: Login into your hosting cpanel.

Step 2: You will be directed to cPanel dashboard. In the search box, type as Directory Privacy and hit enter. Click on the Directory Privacy menu.

Step 3: Now, select the directory which you need to password protect. If you need to password protect a subfolder means, do click on the folder icon next to folder name, then select the sub-folder which you need to protect with password.

Step 4: Once you have selected a folder to password protect, then screen with Security Settings appears.

Step 5: Enable the Password protect this directory check box and Enter a name for the protected directory and then click save.

Step 6: Then, type user name and password and then click Save.

Now, try to browse your site via web browser, you'll be prompted with login screen for that directory. Just type user name and password which you given for password protect to that folder and click Log In, then you can able to access.

Removing the password protection from a directory

Step 1: Select the directory, which you have made password protect.

Step 2: Simply uncheck the Password protect this directory and click save button.

How this faq is helpful:

Not at all
Not much
Some what

What could be better? (Optional)
  Not related to my issue
  Too complicated explanations
  Too much information
  Incorrect information
  Unclear information
  Incomplete information
  Too old information
Do you have any other feedback about this faq ?