You could place the images outside of the wwwroot so that they are not
accessable at all, then use <CFCONTENT> tag to display the image to the
user after they have been authenticated.
HTH
Mike
-----Original Message-----
From: Absolute 1 [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 25, 2001 18:27
To: CF-Talk
Subject: Protecting, a, images/pics, directory?
I am trying to make it so you have to "login" and be authenticated
before
you can view a subdirectory of images and pictures, much like I would if
I
used application.cfm to check authentication before .cfm files are
loaded in
a subdirectory. But apparently application.cfm is not run before .jpg
or
gif files are accessed in a directory. SO, does anyone have some
suggestions on how I can check authentication before someone accesses an
image file in a particular subdirectory? The way it is right now, if
anyone
knows the name of the image they can simply type in the URL. Thanks in
advance for any suggestions.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists