How Do I Add Password Protection to My Website?

Home » Knowledge Base » Control Panel » Website Manager » How Do I Add Password Protection to My Website?

As a website owner, there may come a time when you might prefer to hide your site’s contents from the public. Maybe you are in the process of redesigning your website, or maybe you are storing information meant for a particular person and you do not wish others to have access to this data. Whatever the case may be, enabling password protection for your website is one of the most convenient ways to limit who can access your website. Not sure what password protection is? You can check our in-depth article on what is password protection.

 

How Do I Add Password Protection to My Website?

To enable Password Protection, simply follow the steps below:

The Website Password Protection section of the Control Panel.
The Website Password Protection section of the Control Panel.

 

  1. Log into the Hosting Control Panel of your AwardSpace account. Don’t have an account yet? Sign up for our service to get started!
  2. Navigate to the Password Protection section of the Control Panel.
  3. Specify a Directory Path using the Choose Folder button. The Directory Path represents the folder that will become password-protected.
  4. Add a custom username and password.
  5. Finish the process by clicking on the Add New User button.

Navigating via your web browser to the directory you chose to protect should yield a page similar to the one below:

Password Protection active on a website.
Password Protection is active on a website.

 

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:

The error message that appears when a visitor does not have the correct login credentials.
The error message that appears when a visitor does not have the correct login credentials.

 

Can I Allow Additional Users to Access My Protected Directory?

Yes, it is possible to have multiple users for the same protected directory. You can create additional users in two ways:

 

Creating New Users via the Add Directory Protection Form

The process is essentially the same as creating a brand new website password protection – just make sure that you are using the same Directory Path:

  1. Log into the Hosting Control Panel of your AwardSpace account.
  2. Navigate to the Password Protection section of the Control Panel.
  3. Specify a Directory Path using the Choose Folder button. It should be the same as your existing protected folder.
  4. Add a new username/password combination.
  5. Finish the process by clicking on the Add New User button.

 

Creating New Users via the Add New User Feature for an Existing Directory Protection

The second approach is to adjust the setting for your existing directory protection:

Adding new users in the website Password Protection section of the Control Panel.
Adding new users in the website Password Protection section of the Control Panel.
  1. Log in to the Hosting Control Panel of your AwardSpace account.
  2. Navigate to the Password Protection section of the Control Panel.
  3. Click on the Options button next to your existing protected directory.
  4. Open the Add New User tab.
  5. Fill in the new user’s credentials.
  6. Complete the process by clicking on the Add New User button.

 

Can I Protect Multiple Directories Using a Single Username-Password Combination?

If you wish to protect multiple directories with a single account, use the “Add Directory Protection” form and use the same username and password combination for every directory that you wish to protect.

Note: We do not recommend using the same credentials for multiple password-protected directories!

 

How Do I Revoke Access for a Specific User?

Removing users from a protected directory is a straightforward process:

Removing a user in the Password Protection section of the Control Panel.
Removing a user in the Password Protection section of the Control Panel.
  1. Log in to the Hosting Control Panel of your AwardSpace account.
  2. Navigate to the Password Protection section of the Control Panel.
  3. Click on the Options button next to your existing protected directory.
  4. Open the View Users tab.
  5. Click on the Options button next to the user which you wish to remove.
  6. Open the Delete User tab.
  7. Click on the Delete User button.
  8. Confirm your choice by selecting Yes in the popup window that appears.

 

What Would Happen if I Delete the Last User for a Protected Directory?

The website password protection functions as long as there is at least one user associated with the protected directory. Removing the last user for a given directory will remove the password protection altogether and make your site contents freely accessible on the web.

Was this post helpful?

i

Relevant tags:

Connect

Latest posts:

How to Add Products to Zen Cart: A Step-By-Step Guide

After you install Zen Cart and log in to the admin panel, you can start adding products to your online store. This guide walks you through the process step by step.   How to Add Products to Zen Cart To add a product to Zen Cart, you need to follow a few simple...

How to Log in to Zen Cart

Once you install Zen Cart, you can log in to the CMS and start working on your project. The login process is simple and is comprised of only a few steps.   How to Log in to Zen Cart There are two ways to log in to Zen Cart: Method 1: Login by following the...

How to Install Zen Cart

You can install Zen Cart with any of the AwardSpace hosting plans—free web hosting, shared hosting, and advanced plans such as Semi-Dedicated Hosting and VPS hosting. Each AwardSpace hosting service is tailored to run Zen Cart flawlessly and smoothly, regardless of...

How to Log in to phpBB

Now that you have installed phpBB, it is time to learn how to log in to the system and start working with it. The process is simple and is comprised of only a few steps.   How to Log in to phpBB There are several ways you can use to log in phpBB. The process...

How to Install phpBB

You can install phpBB on any AwardSpace hosting plan - on the free web hosting, shared hosting, and also on the advanced AwardSpace plans such as Semi-Dedicated Hosting and VPS hosting. Each AwardSpace hosting service is tailored to run phpBB flawlessly and smoothly,...



Create a website for free!


Free forever

Our Support Team is Here to Help

 

If you need any questions answered, don't hesitate and contact us. Click the button below and follow the instructions. You can expect an answer within an hour.

 

Contact AwardSpace

 

iNewest knowledge base articles

How to Add Products to Zen Cart: A Step-By-Step Guide

After you install Zen Cart and log in to the admin panel, you can start adding products to your online store. This guide walks you through the process step by step.   How to Add Products to Zen Cart To add a product to Zen Cart, you need to follow a few simple...

How to Log in to Zen Cart

Once you install Zen Cart, you can log in to the CMS and start working on your project. The login process is simple and is comprised of only a few steps.   How to Log in to Zen Cart There are two ways to log in to Zen Cart: Method 1: Login by following the...

How to Install Zen Cart

You can install Zen Cart with any of the AwardSpace hosting plans—free web hosting, shared hosting, and advanced plans such as Semi-Dedicated Hosting and VPS hosting. Each AwardSpace hosting service is tailored to run Zen Cart flawlessly and smoothly, regardless of...

How to Log in to phpBB

Now that you have installed phpBB, it is time to learn how to log in to the system and start working with it. The process is simple and is comprised of only a few steps.   How to Log in to phpBB There are several ways you can use to log in phpBB. The process...

How to Install phpBB

You can install phpBB on any AwardSpace hosting plan - on the free web hosting, shared hosting, and also on the advanced AwardSpace plans such as Semi-Dedicated Hosting and VPS hosting. Each AwardSpace hosting service is tailored to run phpBB flawlessly and smoothly,...

How to Remove a Product in OpenCart

After installing OpenCart and logging in to the dashboard, you can start adding and removing products immediately. We have already covered how to add products in OpenCart, and in this article, we share simple steps to delete products from your store with only a few...

Even more web tutorials

Check out our web hosting knowledge base and the WordPress tutorials to learn more, and be better prepared for your website creation and maintenance journey.