How to password protect a directory

Password Protection allows you to set login details on a directory to ensure only people who have the login details can access this section of your website. It is also useful for restricting access to a directory on your hosting account, where you might store .pdf files for example. To password protect a directory, please see the following steps:

• Log in to your LetsHost client area and click on Services > My Services
• You will see your products/services listed out here. Click on Active beside your hosting package
•  On the left, click on the link Login to cPanel
• Once in the cPanel control panel, click on the icon for Directory Privacy under Files header
• Click on the public_html directory. Here set a username and a password that will be needed in order to access the website
• You can also password protect a sub-directory of your website. To do this, just click the corresponding directory (instead of the public_html directory)

If you require further information/assistance on this, please submit a ticket and a member of the team will be happy to assist further.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How do I unlock my domain name?

  When transferring a .com/net/org/info/biz/etc domain from one domain registration provider to...

How to set up a URL redirect on your domain

For information on how to set up a redirect in your LetsHost cPanel control panel, please see the...

How to change PHP version on my account

It is now possible to change the version of PHP in use on your hosting account. To do this, you...

How do I update the whois information of my domain?

Please see the following steps on updating the whois information for your domain: - Log in to...

Adding another domain/website to your Plesk hosting account

Your LetsHost Plesk (/Windows) hosting account will allow you to host multiple domain names or...