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 change the PHP timezone?

Our servers will be using the MST or GMT timezone, depending on the location of the server....

How do I Transfer a Domain to StableHost?

Domain registration transfers can take up to 8 days to be completed. To transfer any domain to us...

How do I disable server-side caching?

We use Varnish to cache images for 30 minutes and all dynamic content (html, php, etc) files for...

How do I setup private nameservers?

Setting up private nameservers is fairly simple, however it all depends on where you registered...

My site is listed as an attack page?

When visiting your website, if you receive an error stating it's an attack page, that means that...