PDF's and behind the scenes passwords... should be tricky.
Posted: Fri Feb 15, 2008 2:48 pm
This is for http://www.cougarnotes.com
My website is designed to serve up PDF's to members with the right access. I have already programmed the PDF's to be served up from behind an htaccess so that PDF's can only be viewed while logged in with the appropriate access.
I want users to only be able to view PDF's while logged in or to be able to print them. I don't want them to be able to download them.
My Idea:
Can you open a password protected PDF with a password that is entered 'behind the scenes' either on the server side or in the users browser via javascript. This way the user never sees the password and if they do download the PDF's they won't be able to open them.
My website is designed to serve up PDF's to members with the right access. I have already programmed the PDF's to be served up from behind an htaccess so that PDF's can only be viewed while logged in with the appropriate access.
I want users to only be able to view PDF's while logged in or to be able to print them. I don't want them to be able to download them.
My Idea:
Can you open a password protected PDF with a password that is entered 'behind the scenes' either on the server side or in the users browser via javascript. This way the user never sees the password and if they do download the PDF's they won't be able to open them.