in reply to restricting public access to images
You have a couple of options: If you're using Apache, you can put HTML pages and the images they reference into a directory that you've set up to require basic authorization.
Or, you could use a CGI that checks for a cookie (that only your authorized users gets). If the right cookie is present, the CGI prints the correct response header, and then opens the image (which resides in some sekret location) and prints it. (If you're on win32, be sure to do binmode(STDOUT) first.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: restricting public access to images
by submersible_toaster (Chaplain) on Oct 08, 2002 at 04:16 UTC |