You should be able to set the PDF files to be unreadable by the anonymous
user (the default username unless the user has logged in).  That way they
would have to log in in order to read the file.  Of course, you would have
to use basic authentication or <CFAUTHENTICATE> in order to actually login
to the OS.

 -----Original Message-----
From:   John Lucas [mailto:[EMAIL PROTECTED]] 
Sent:   Tuesday, October 17, 2000 8: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