1. Home
  2. General
  3. Password For a Directory

Password For a Directory

  1. Login to CPanel
  2. In the FILES section of the cPanel home screen, click Directory Privacy
  3. Click the name of the directory that you want to protect.

Any subdirectories located in the directory that you select will also be password protected. 

4. Select the Password protect this directory checkbox.

5. Enter the name that you want visitors to see in the Name the protected directory text box.

The directory name can be anything, regardless of what the directory itself is named.

6. Click Save

7. Under Create User, type a username in the Username text box.

8. In the New Password text box, type the user’s password.

9. In the Confirm Password text box, retype the user’s password.

10. Click Save

Updated on October 3, 2020

Was this article helpful?

Related Articles