Using CF to serve images and other binary files is expensive, so why
not use a Servlet instead? With a Servlet you can stream the file
avoiding the memory problems of cfcontent and a Servlet can interact
with CF sessions to get authentication information.

-Matt

On Feb 10, 2004, at 9:44 PM, Nando wrote:

> Yes, you're right Cameron. i just tried it. i guess i intuitively
> expected it to
>  always run if present because it does if you just call the directory,
> but then i just
>  realized that it probably runs in this case because of the default
> set up in the
>  webserver ...
>
>  -----Original Message-----
>  From: Cameron Childress [mailto:[EMAIL PROTECTED]
>  Sent: Wednesday, February 11, 2004 3:12 AM
>  To: CF-Talk
>  Subject: RE: serving non-CFM files w/ Cold Fusion
>
>  > What about placing an Application.cfm in the directory you
>  > want to protect, make sure there is at least one .cfm file
>  > in that directory, and put something like this in it?
>
>  Though that's a great idea for most pure CF directories.��However,
> unless
>  you modify the documents sent through the CF parsing engine by the
>  webserver, that would only protect the .cfm files in the directory.
>
>  -Cameron
>
>  -----------------
>  Cameron Childress
>  Sumo Consulting Inc
>  ---
>  land:��858.509.3098
>  cell:��678.637.5072
>  aim:���cameroncf
>  email: [EMAIL PROTECTED]
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to