home | control panel | email | frontpage | FTP | URL Security | Statistics | ODBC | Problem | HelpDesk | Multi Account | mySQL | 404 page

URL Security

URL Security provides a method of password protecting sections of your website.

When the user attempts to visit a secure area they will be prompted for a username and password which they must enter in order to be granted access to that part of the website.

For example, you may want to secure your stats directory or have an area of your website that only members can access.

URL Security validates users from a text file that you upload to your webspace. You can create as many secured URL's as you need via your HostOnce.com CP.

To set up a Secured URL on your website

Click the URL Security link on your control panel. You will then see a screen similar to Image 1 below.

Click Add a new Secured URL.


Image 1

You will then see the Create a Secured URL screen similar to that shown in Image 2 below.


Image 2

On this screen you will need to specify certain information:

URL to be secured: Example URL http://www.yourdomain.com/stats

Text file for authentication: This is the path to the textfile containing usernames and passwords that you have uploaded to your webspace.

For example:

private\textfile.txt

Note that the text file takes the form of:

username=password. One pair of these per line in the text file with no limit.

Example:

Steve=zowie
Simon=yoiks
Mike =eek

There MUST be a carriage return after the last username/password set.

When you have entered all these settings, click Update to apply the security.


Custom 401 Pages


If you would like to use your own Custom 401 error pages for when access is denied you should enter the path to this file inthe Custom 401 page box and click Update.

For example: htdocs\401.htm

 

home | control panel | email | frontpage | FTP | URL Security | Statistics | ODBC | Problem | HelpDesk | Multi Account | mySQL | 404 page
Copyright HostOnce.com 2000-2005