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.)
In reply to Re: restricting public access to images
by dws
in thread restricting public access to images
by uzzikie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |