Help
In order for Photoguard to work, you need to have a server that supports PHP. You can always try if you don't know, but if you do not have PHP support, photoguard will not work on that server.
Photoguard comes as a single file (for ease of use) called index.php. All you need to do to password protect a folder is to place a copy of index.php into that folder.
IMPORTANT NOTE: The current level of password protection is not perfect. If someone knows the name of the file, they can still access it. (for instance, if you know that http://www.grid-runner.net/photoguard/Sample/image01.jpg is the name and location of an image, it will still be displayed). However, unless the attacker knows or can easily guess the name of the file, this level of protection is sufficient. Obviously, do not use Photoguard in its current version for highly sensitive material, as a patient attacker could eventually try all possible file names and find the files.
Photoguard currently can be customized in the following ways:
To change these settings, you will need to open the Photoguard file (index.php) in a text editor, and change the values of some variables at the top of the script. Here is a list of the variables, and the changes you can apply to them:
$password = 'sample';
You may change the password to anything you want, in order to set the password.
To DISABLE the password, set it to nothing ($password = '').
$showpath = true;
If $showpath is true, the URL of the current directory will
be listed at the top.
Set it to false to hide this.
$subdirs = true;
If $subdirs is true, Photoguard will provide links to sub
directories.
Set it to false to not display these.
$parentdir = true;
If $ parentdir is true, Photoguard will provide a link to
the parent directory.
Set to false, to not show this link.
Set the following varibles to true to have Photoguard list
these kind of files.
Set them to false to not include them in the list.
$jpegs = true ;//list .jpg images
$gifs = true; //list .gif images
$pngs = true; //list .png images
$noext = false; //list files with no extentions
$htmls = false; //list .html files
$phps = false; //list .php files
Unless you know PHP, you should not try to change anything else in the script, or you may break it.
If you are afraid to mess up, please contact me and I will set up the variables to work the way you like (or just use the default).