> 1) Move the PDFs to a non-web accessible directory
> 2) Server them up via a CFM file using CFCONTENT
> 3) Make sure the CFM is password protected

One problem with this that we found...

The PDF's no longer stream down to the users browser.. the user has to wait
for the entire file to download before viewing it. When accessing a PDF file
directly, users can look at the first page while the rest are downloading.

We couldn't find a workaround to this, so we ended up just using obfuscated
file names for the PDFs so people couldn't guess them, and trusting users
not to email them around. If anyone's experience is otherwise, I'd be
interested to hear how you did it.

bye!


-----Original Message-----
From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
Sent: Friday, 18 February 2005 2:54 PM
To: CF-Talk
Subject: Re: Securing PDFs in CF


1) Move the PDFs to a non-web accessible directory
2) Server them up via a CFM file using CFCONTENT
3) Make sure the CFM is password protected

Go home and enjoy your weekend ;-)

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Friday, February 18, 2005 1:49 PM
Subject: Securing PDFs in CF


> Website hosted in CF 5.5. I have a member only site which uses session
> variables. Within the member site there is a directory with PDF files.
> However, anyone with a link to the PDFs can access them because acess to
> them bypasses the CF server.
>
> What is the work around for this? I have tried labeling them .cfm but some
> users have issues opening them as PDF files.
>
> Sebastian
>
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195521
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to