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

How do I enable awstats?

AWStats is disabled by default on all accounts as most people don't use them and they take up a...

Max email size?

You can send emails up to 50Mb in size.    

I forgot my password

Do not worry, it's very easy to retrieve your password. If you need to change your password to...

How do I change my cPanel username

You can change your cPanel username by logging into our customer portal.  Once logged in,...

How do I add additional domains?

StableHost offers unlimited additional domains for your account (on most of our hosting plans),...