if you used CFCONTENT to serve up the pdf, you could do it...

for instance:

pdf.cfm?id=34/file.pdf

should prompt the user to download the PDF file, if you use the CFCONTENT
tag properly with CFFILE.

Shannon Hicks
Senior Developer
[EMAIL PROTECTED]
http://www.duodesign.com

duoDesign eBusiness Accelerator
1007 Church Street, Suite 510
Evanston IL 60201

847-491-3211 direct
847-491-3000 main
847-491-3100 fax


-----Original Message-----
From: John Lucas [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 17, 2000 10:32 AM
To: Fusebox
Subject: password protection for PDF files


I have a site that is going to use cf to provide user authentication for the
secure area of the website.  That part is the easy one.

In this secure area, there are going to be some PDF files that can be viewed
by the user as long as they remain a distributor for the company.  Once they
are no longer a distributor, they would no longer have access to these
files.

So, it would be easy to control whether they can log in or not to the site,
but is there any way to protect the PDF files since they are not coldfusion
files. What we want to be able to do is prevent bookmarked PDF files from
being viewed without being logged in.

I realize that if the user were to save the PDF file locally or print it
while they had access to the files, that there is no way to control that.
And, that is fine.

Is there a way to protect non-cf files using CF?

Hopefully this makes some sense.

Thanks,
John Lucas
[EMAIL PROTECTED]


----------------------------------------------------------------------------
--
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to