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
  • 35 Users Found This Useful
Was this answer helpful?

Related Articles

How do I get to cPanel?

The easiest way is to go to http://yourdomain.com/cpanel

How do I backup my website?

The easiest way to backup your website is by doing so via CPanel.    By logging into CPanel, you...

How do I upload files?

You can upload your html and images to your website via FTP.    You will use the login specified...

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...

How do I change permissions on my files?

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