Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: CGI Password

by bjelli (Pilgrim)
on Mar 28, 2001 at 13:47 UTC ( #67789=note: print w/ replies, xml ) Need Help??


in reply to CGI Password

I would advise you to use the built in password mechanism of the webserver. If you are using apache: start with reading the documentation for require. That way you can easily protect all the files in a directory.

With your solution you only protect the front page, the pictures themselves will still be available directly.

I just made the same mistake when constructing my photo archive. The front page is password-protected, but you can sill access the images is you know the URL. (Example: Damian, giving his talk on Quantum::Superposition is at http://rec.horus.com/pix/2001-03-01/perl-bonn/damian-superpositions.gif

--
Brigitte    'I never met a chocolate I didnt like'    Jellinek
http://www.horus.com/~bjelli/         http://perlwelt.horus.at


Comment on Re: CGI Password

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://67789]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (11)
As of 2014-08-23 16:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (174 votes), past polls