(Advanced) Restricting Access to Content

(Advanced) Restricting Access to Content

If you have directories in a site that only authorized users should see, restrict access to these directories with password protection.

To protect a directory in your site with a password and to specify authorized users:

  1. If you are subscribed to several hosting packages and have access to several webspaces associated with your account, in the Subscription menu at the top of the screen, select the required webspace.
  2. Go to the Websites & Domains tab > Password-protected Directories (in the Advanced Operations group).
  3. Click Add Protected Directory.
  4. In the Directory name box, specify the path to the directory that you want to protect with a password.

    This can be any directory existing in the site, for example: /private. If the directory that you would like to protect has not yet been created, specify the path and the directory name – the Panel will create it for you.

  5. If you are using a Linux-based account, you can also protect your CGI scripts stored in the cgi-bin directory. To do this, leave '/' in the Directory name box and select the cgi-bin checkbox.
  6. In the Title of the protected area box, type a resource description or a welcoming message that your users will see when they visit the protected area.
  7. Click OK. The directory you specified will be protected.
  8. To add authorized users, click Add New User.
  9. Specify the username and password that will be used for accessing the protected area. The password should be from 5 to 14 symbols in length. Click OK.

To add an authorized user of a protected directory:

  1. If you are subscribed to several hosting packages and have access to several webspaces associated with your account, in the Subscription menu at the top of the screen, select the required webspace.
  2. Go to the Websites & Domains tab > Password-protected Directories (in the Advanced Operations group).
  3. Click on the name of the directory you need.
  4. Click the Add New User icon.
  5. Specify the username and password that will be used for accessing the protected area. The password should be from 5 to 14 symbols in length.
  6. Click OK.

To change password for an authorized user of a protected directory:

  1. If you are subscribed to several hosting packages and have access to several webspaces associated with your account, in the Subscription menu at the top of the screen, select the required webspace.
  2. Go to the Websites & Domains tab > Password-protected Directories (in the Advanced Operations group).
  3. Click on the name of the directory you need. A list of authorized users will open.
  4. Click on the user's name.
  5. Specify the new password and re-type it for confirmation.
  6. Click OK.

To revoke a permission to access the protected directory from a user:

  1. If you are subscribed to several hosting packages and have access to several webspaces associated with your account, in the Subscription menu at the top of the screen, select the required webspace.
  2. Go to the Websites & Domains tab > Password-protected Directories (in the Advanced Operations group).
  3. Click on the name of the directory you need. A list of authorized users will open.
  4. Select a checkbox corresponding to the user's name.
  5. Click Remove. Confirm the operation and click OK.

To remove password protection and make the resource available to the public:

  1. If you are subscribed to several hosting packages and have access to several webspaces associated with your account, in the Subscription menu at the top of the screen, select the required webspace.
  2. Go to the Websites & Domains tab > Password-protected Directories (in the Advanced Operations group).
  3. Select a checkbox corresponding to the name of the directory, from which you want to remove protection.
  4. Click Remove Protection. The protection will be removed and the contents of the directory will be accessible to the public without restrictions.

 
  • 1028 Users Found This Useful
Was this answer helpful?

Related Articles

When will my Web Hosting be Setup?

All web hosting accounts are setup instantly once payment has been received.

What DNS servers do I point my domains to?

Our DNS servers are; ns0.exascale.co.uk ns1.exascale.co.uk

I've had no emails from you?

In some rare cases your ISP or email provider will mark our emails/invoices as SPAM. If your...

Why choose Exascale Shared Web Hosting?

Exascale are one of the UK's leading premium Managed Web Hosting company providing to Personal...

Why don't you offer Unlimited Bandwidth?

There is no such thing as unlimited bandwidth. Any web hosting company that...