Can I password protect directories?

Can I password protect directories?

To password protect directory:Login into your cPanel and click on the Password Protect Directories icon, found under Security.
  1. Choose Web Root (and you may need to select Show Hidden Files)
  2. Click on the name of the directory that you wish to password protect.
  3. Check the box for "Password protect this directory:"
  4. 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.
  5. Click on Save button below.
  6. Click "Go Back"
  7. Fill in a Username and Password at the bottom of the page, and click "Add/modify authorized user".
  8. 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.

Note: At this time you can only protect directories (not individual files) from cPanel. Any file that needs protection should be placed in a protected directory.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Do you have a cPanel manual?

Do you have a manual for your control panel? Yes, a manual for cPanel is available. Go to...

Error page codes

What are Error Codes? These numbered error codes are how the server tells website visitors...

Creating an addon domain

About addon domains Addon Domains are handled like subdomains as far as the server is concerned,...

When will my domain start working?

When will my domain start working? Propagation If you have a new domain name, you must change...

How to backup/restore your MySQL database

If you run a database driven website, it is important to backup your databases, periodically. You...

Powered by WHMCompleteSolution