:: DHT - Document Hide and Track v0.2
(c) 2002 Giancarlo Erra
This software is under the GNU Public License (GPL)
DESCRIPTION:
I started making this script for myself: I needed a way to
show
the curriculum vitae on my website, avoiding people to know
the exact location of the file, avoiding direct linking and
tracking all requests. I started out with a simple form, a
simple
php include and a mysql logging/tracking. Then a friend of
mine
asked me to make a similar script for his documents, but without
mysql logging (with csv export). So I decide to work a little
more on the original version to release it, now I think it's
pretty stable and secure.
With this script you can "hide" html/php/perl/cgi/txt
etc.. files,
to avoid direct linking and to track each visitor (so it can
be
useful also as a download manager). It can works also with
zip/tgz/doc/pdf etc.. files, but in this case you could
enconter problems in the client configuration about the content
types (read the code before use dht with binary type files).
INSTALLATION:
Untar the archive in a directory, then open the dht.php file.
It's well commented: you have to change some parameters to
fit
your website url, your email address and the name of the logfile.
When you find a NOTE please pay attention: it's something
related to security of the script: you should change the
name of the default name of the logfile and the default name
of the hidden page/s (that will be probably your document
name). You'll be able to change also email messages, log
format etc.. Remember that it's always important to change
default
parameters of the scripts: this prevents the rest of the world
to know important settings (as your hidden document or your
DHT logfile!).
This script is really short, so read it carefully and enjoy!
REQUIREMENTS:
I tested it on a Linux redhat with apache and php4 as module.
Your apache user needs WRITING rights at least on the logfile.
DISCLAIMER:
Remember: use this software at your own risk, I'm not responsible
for any direct or indirect damage, loss of data etc..
This software is distributed AS IS, without any warranty.
TODO:
.New binary files handling (content types, hiding source address.
Any idea? :P)
.Html interface for configuration
:.
Download (http) DHT (15k)
..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..