Yeah, I thought about that. Problem is some of the video files are massive, and 
I don't want to tie up a CF process for that long. If I remember correctly, 
this server app does a quick check based on my own auth sceme and then hands 
the process off to IIS.

Mik


At 02:14 PM 11/6/2007, Larry Lyons wrote:
>> Hey folks,
>> 
>> A while back there was a discussion about a server-side app that works 
>> with CF to secure non-CFM files, ie; doc, pdf, etc., into whatever 
>> auth scheme you're using in your CF application.
>> 
>> For the life of me I can't remember the app, or find that thread. Can 
>> anyone direct me in the right direction?
>> 
>> Thanks,
>> 
>> Mik
>> 
>
>Try this, move your non-cf files off the web root. Then only access them 
>through cfcontent, only after the user has been properly authenticated using 
>whatever scheme you choose.
>
>        <cfcontent type="application/pdf" file="#absolutePath2targetPDF#" 
> deletefile="No" />
>        <cfheader name="Content-Disposition" value="inline; 
> filename=#vabsolutePath2targetPDF#" />
>
>hth,
>
>larry
>
>--
>Larry C. Lyons
>Web Analyst
>BEI Resources
>American Type Culture Collection
>http://www.beiresources.org
>email: llyons(at)atcc(dot)org
>tel: 703.365.2700.2678
>--
>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292816
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to