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 create a SSL certificate?

Let's be honest, creating SSL certificates can be confusing at times. Let us do the work for you...

Adjusting PHP Memory settings

To change the memory_limit for PHP, please follow these steps:- Log into cPanel.- Find and click...

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 get the EPP code for my domain?

Getting your EPP (Transfer) code is very easy: Log into your customer’s portal:...