Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 chilling in the Monastery: (8)
As of 2015-07-05 17:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls