Can I password protect directories?

  1. Login into your cPanel and click on the Password Protect Directories icon, found under Security.
  2. Choose Web Root (and you may need to select Show Hidden Files)
  3. Click on the name of the directory that you wish to password protect.
  4. Check the box for "Password protect this directory:"
  5. Fill in "Name the protected directory". Actually, this is just the message that will show to visitors when they try to login, and can be anything you like.
  6. Click on Save button below.
  7. Click "Go Back"
  8. Fill in a Username and Password at the bottom of the page, and click "Add/modify authorized user".
  9. You are Done. The directory you selected is now protected by password.

 

To ensure you directory has been password protected, launch you browser and visit the folder. If the browser prompts you to login, then your directory has been password protected.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to create/edit/delete a file using the File Manager

There may be times when you wish to create, edit, or delete a file or folder in your account....

How to upload a file using the File Manager

You may want to upload your files directly through cPanel. You can do this through the File...

How to navigate through File Manager

How to navigate through File Manager File Manager is an quick and easy way to navigate through...

How do I create a MySQL database, user, and then delete if needed?

Create: If you are using any type of PHP software or keeping a collection of records which need...

How to park a domain on an addon domain

cPanel has yet to offer this option although it can be done. In order to park a domain on...