Password protect your webfolders with VIP Hosting
Freeola Internet Get Dotted Domains Blog Guides Forums
Password protect your webfolders with VIP Hosting
Menu

Freeola Guides


Password Protecting Webpage Directories

By on 14th July, 2016 | 0 Comment(s)

There are two different ways that you can password protect a webpage directory using Freeola, the first and easiest way is to use our VIP+ Web hosting service.
(Don't have a VIP+ hosting service? Sign up for one here!)

 

VIP+ Hosting

 

To password protect a webpage directory using our VIP+ web hosting, please use the following method:

  1. If you don't have one already, create the directory that you would like to password protect using your FTP client.

  2. Log into your MyFreeola control panel and navigate to the My Web Sites section of the left-hand side menu, find your domain name within the list, then select Options & FTP Settings.

  3. You should then be able to scroll down the to the VIP+ Hosting Settings section, in this section select the Directory Settings option and you will then be able to select the directory that you have created. Once selected, press the Password Protection button and enable the password protection. You will then be able to enter the required information to protect your directory.

  4. Save the changes you have made and you will now have a password protected directory on your VIP+ Web Hosting service.

Creating a Password

To increase password security, Freeola would recommend using a combination of upper- and lower-case letters, mixed with digits.

 

Htaccess File

 

This section of the guide assumes you have knowledge of text editors and htaccess files in general. Due to the advanced nature of these files, it is not recommended to utilise this method unless you have some scripting knowledge.

 

If you are using our standard hosting services and would like to password protect your webpage directory, then you can do so using the following method:

 

  1. Create a .htaccess file which has the following code:

    AuthType Basic
    AuthName "restricted area"
    AuthUserFile /freeola/users/*/*/*/.htpasswd
    require valid-user
    Making sure to replace the * with the following:
    1st *: last digit of your SR or VIP number
    2nd *: second to last digit of your SR or VIP number
    3rd *: your SR or VIP number
    An example using the sr number "sr1111123" would be:
    /freeola/users/3/2/sr1111123/.htpasswd
    An example using the VIP number "vip1111123" would be:
    /freeola/users/3/2/vip1111123/.htpasswd

  2. Move the .htaccess file into the directory that you wish to password protect.

  3. Create a .htpasswd file and generate a username and password using a .htpasswd generator, and put the generated username and password into the file.
    An example username and password are - Username: Test and Password: Test
    This is shown in the file as:

    test:$apr1$PIHU18Wc$abTNpkmnSfZLP2C/tfIC//

  4. Move the .htpasswd file to the root directory of the server. If added correctly, this should work immediately.


Did you find this article helpful?

Yes | No


Article Comments (0)
There are currently no comments on this article.
Add your comment:

Comments are limited to 750 characters, you have 750 remaining.

Freeola is a UK internet service provider offering the best value and extensive free services. Please compare our domain name registration prices or check out our UK high speed internet access. If you are in business please see examples of our free hosting at Freeola.com/customer-sites.

Safe and Secure Payment

Tell us what you think!

Live Chat is offline

Live Chat is available:
9am to 6:30pm Monday to Friday (excluding bank holidays).

01376 55 60 60

Send us a ticket.