Can you explain the difference between using CFFILE and others suggesting
using CFCONTENT to display pictures in a window?

Bruce

----- Original Message -----
From: "Dave Hannum" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, September 25, 2001 11:03 AM
Subject: Re: Protecting, a, images/pics, directory?


> The application.cfm file does nothing to prevent directory browsing or
> calling of non .cfm files directly.  That's set up on the web server.  You
> can build a login script and then use CFDIRECTORY to list the image files
> then use CFFILE to bring them into a page to view.
>
> Dave
>
>
>
> ----- Original Message -----
> From: "Absolute 1" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Tuesday, September 25, 2001 1:26 PM
> 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.
> >
> >
> >
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
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

Reply via email to