While the goal of most websites is to share information and connect with as many visitors as possible, there are occasions in which you may wish to limit access to your site to a select group of people. Maybe you are still building your website and it is not yet ready to be viewed by everyone or maybe your site contains information that should not be publicly accessible. Whatever the case may be, adding password protection to your pages is a useful feature that you have available at your disposal.
What is Website Password Protection?
When you enable website password protection, you will be asked for a username and a password on every visit to your site. If you are unable to provide valid login credentials, an error page will be displayed and your site content will not be shown.
How does Website Password Protection Work?
At its core, website password protection restricts access to a specific directory in your hosting space. You get to choose this directory as well as the username and password which are used to gain access. The password protection can be applied to any directory – from a subfolder to your main domain directory.
The feature is managed through a dedicated Password Protection section in the Control Panel. If you have trouble setting up password protection for your site, you can check our in-depth guide on how to add website password protection.
Does Password Protection Cover Sub-Directories As Well?
Yes, the website password protection covers all sub-directories which are located in the target protected directory. As such, if you secure the root folder for your domain name, all of your site contents will become private. If a visitor tries to gain access without knowing the correct username and password, they would be presented with the following page:
Can I Allow Additional Users to Access My Protected Directory?
Yes, once you have set up password protection for your website, you can create as many additional users as you need. Each new user will have the ability to both read and create files in the protected directory.
Does Website Password Protection Work over FTP?
No, the website password protection feature is designed to protect from unauthorized HTTP access only. In other words, it is effective when someone tries to visit your site in their web browser. Website password protection is not able to secure a directory when you are viewing it in our File Manager, an FTP client, or via SSH.
Can I Use Website Password Protection on the Free Hosting Plan?
At this time, website password protection is a feature only available on our paid hosting plans. If you are using our Free Hosting Plan, you may consider upgrading to the paid hosting platform.