> 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 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292783
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