How do I password protect a specific page or directory in my web site?

To password-protect specific pages or areas of your web site, you can use either the Password Protect Directories feature in your cPanel (just click on the Password Protect Directories icon), or if you are familiar with .htaccess Files you can use .htaccess to assign a password to a specific area of your site. Either of these methods will produce a login popup window similar to the one you see when you login to your cPanel.

If you want to protect a specific page, you must first create a special directory for it, put the page into the new folder, and then assign username and password access for that folder.

NOTE: If you are using FrontPage you CANNOT use the Password Protect feature in your cPanel. If you do, you will render your FrontPage site inoperable. See special instructions for FrontPage users on the Password Protect Directories page, or see similar instructions at this FAQ about password protecting pages with FrontPage.

  • 11 Users Found This Useful
Was this answer helpful?

Related Articles

How can I change a password for my domain and primary POP3 email account?

Go to your cPanel User Control Panel at http://www.yourdomain.com/cpanel, click on the Change...

How do I change passwords for multiple POP3 email accounts?

Go to your cPanel User Control Panel at http://www.yourdomain.com/cpanel Click the Mail icon,...

Powered by WHMCompleteSolution