How do I password protect my website?

With CPanel, you have the ability to password protect a folder within your website. You can create as many logins as needed for a protected folder.

Click on Password Protect Directories in Site Management. To password protect a directory click on the directory's name. To protect a sub-directory click on the folder next to the name and then click on the sub-directory's name.

This takes you to a configuration panel where you must:

  • Check the box labeled 'Password protect this directory'
  • Enter the name of the protected directory (this is just what is displayed to the user when they try to access this directory).
  • Click Save
  • You can then add as many users as you wish, entering a username and password for each

Was this answer helpful?

 Print this Article

Also Read

Web Hosting Resource Limits

Your resource limits are defined based on your web hosting plan.  Please see the differences...

How do I configure my MySQL databases?

Please view this video tutorial: http://www.cpanel.net/media/tutorials/addmysql.htm

How do I change my main domain name?

We have created a feature to change your main domain name automatically without contacting...

How do I change permissions on my files?

Login to your Control Panel at www.yourdomain.com/cpanel using your cPanel username and...

My website is down

WAIT! Don't panic! We ask that you please go through this checklist before contacting us....