[Xitami] Password protected Perl CGI.

garry xitami@lists.xitami.org
Tue, 14 Aug 2001 06:01:24 +1200


Hi david
if you dont get anyone else replying to your perl questions drop me a line
at garry@cable.net.nz

i have written basic security scripts and can easily deal with those
bookmarking the page that is secured.
you simply make the page part of a script and do.....  if
($ENV{'HTTP_REFERER'} ne "$myip") {print
"location:path/to/login/script.pl\n\n";} before your page is displayed by
the script.


Garry Stanley

Cable.net.nz

Beta Data Solutions Ltd.