Store them outside your web root and serve them up with cfcontent.  Just
remember a CF thread is used for the duration of the download.

~Brad


-------- Original Message --------
Subject: How to protect PDF documents from direct access
From: "col...@uci.edu col...@uci.edu" <col...@uci.edu>
Date: Mon, May 03, 2010 5:57 pm
To: cf-talk <cf-talk@houseoffusion.com>


Is there some easy way to protect PDF (and perhaps other kinds of
documents) from sideaways access?

In other words, after building login pages, protecting html/cfm pages
from direct access, etc.; someone can still directly access a document
with a direct URL, like

www.xxx.com/yyyy.pdf

Any quick and easy ideas appreciated.




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333305
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to