Keep them off the webroot, and then serve them up with <cfcontent> or apache mod_xsendfile
Mark On Tue, May 4, 2010 at 8:57 AM, [email protected] [email protected] < [email protected]> wrote: > > 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. > > Rick. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:333304 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

