Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

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

Brigitte    'I never met a chocolate I didnt like'    Jellinek

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://67789]
[erix]: fortunately, the idiots make for good entertainment as well: trumps chumps

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2017-01-24 08:32 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (203 votes). Check out past polls.