Webhosting Password Protected Areas: Difference between revisions

From AAISP Support Site
No edit summary
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
Password protected areas are possible with our webhosting.
[[File:Couk.png|link=:Category:Webhosting]]


Password protected areas are possible.


You can password protect any part of your web site by creating a file called password.txt in any directory.
You can password protect any part of your web site by creating a file called password.txt in any directory.
Line 18: Line 15:
You can download an example password.txt file, but remember to change the password and the username! [[File:password.txt.zip]] (unzip the file too!)
You can download an example password.txt file, but remember to change the password and the username! [[File:password.txt.zip]] (unzip the file too!)


==Other Webhosting pages:==
==Other Webhosting pages==
<ncl style=bullet maxdepth=5 headings=bullet headstart=2 showcats=1 showarts=1>Category:Webhosting</ncl>
<ncl style=bullet maxdepth=5 headings=bullet headstart=2 showcats=1 showarts=1>Category:Webhosting</ncl>



[[File:aa-button.png|link=http://aa.net.uk/domains-webspace.html|Webhosting Service page on our main website]]
[[File:aa-button.png|link=http://aa.net.uk/domains-webspace.html|Webhosting Service page on our main website]]




[[Category:Webhosting]]
[[Category:Webhosting|Passwords]]
[[Category:Domains]]

Revision as of 00:25, 18 August 2018

Password protected areas are possible with our webhosting.

You can password protect any part of your web site by creating a file called password.txt in any directory.

If this exists then access to that directory and any other files and sub directories* require a username and password.

Include in the file a list of entries, one per line, with name:password . This lists the names and passwords allowed access. You can also include IP addresses, each on their own line, that will also be allowed without having to enter a username and password.

Users cannot access password.txt via a web page even if they correctly log in to access the directory.

The password.txt file protects every file and directory at and below that point, so you could have another password.txt file in a subdirectory. In this case the username and password used must be in both files to allow access, and so on for further sub directories.

  • Note: Protection of sub directories may be subverted by some cunning means, so this should not be assumed. To be sure, always put the password.txt file in every sub directory as well.

You can download an example password.txt file, but remember to change the password and the username! File:Password.txt.zip (unzip the file too!)

Other Webhosting pages

<ncl style=bullet maxdepth=5 headings=bullet headstart=2 showcats=1 showarts=1>Category:Webhosting</ncl>

Webhosting Service page on our main website