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

Related Articles

Why is my site slow?

There's several common reasons why sites are slow -- we ask that you please troubleshoot via this...

My website is down

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

What is the MySQL hostname?

When configuring your script, it will most likely ask you what the MySQL hostname is.  Please...

I can't reach cPanel on port 2082

If you have a firewall or your ISP doesn't allow connections to cPanel on port 2082, you can...

How do I upload files?

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