How to password protect a directory in cPanel?



This is done using the Directory Privacy feature in cPanel.

When you add password protection to a directory, you provide a name for the directory that will appear in users' web browsers when they are prompted for a username and password. Then you create users and passwords to specify who can access the directory.

To add password protection to a directory, follow these steps:
  1. In the FILES section of the cPanel home screen, click Directory Privacy.  
  2. Click the name of the directory to protect.
  3. In the "Security Settings" section, select the Password protect this directory check box.
  4. In the Enter a name for the protected directory text box, type a name for the protected directory.
  5. Click Save.
  6. In the "Create User" section, type a username in the Username text box.
  7. In the New Password text box, type the user's password.
  8. Retype the user's password In the Confirm Password text box.
  9. Click Save.  
  • password, protection, video tutorial
  • 0 användare blev hjälpta av detta svar
Hjälpte svaret dig?

Relaterade artiklar

How to setup hotlink protection in cPanel?

CPanel can prevent hotlinking by only allowing named sites (such as your own web site) to access...

How to Disable HotLink Protection using cPanel?

Disable hotlink protection when you no longer think that another web site owner is directly...

What is HotLinking?

Hotlinking takes place is when another web site owner links directly to one or more of your...

How to use the IP Blocker in cPanel?

The IP Blocker enables you to block access to your web site from specific IP addresses. This is...

How to remove an IP from cPanel IP Blocker?

Remove a blocked IP address when you no longer need to prevent access from that IP address....