Jump to content


Photo

block downloading and saving pdf file while viewing it online


  • Please log in to reply
1 reply to this topic

#1 zhq

zhq
  • Members
  • PipPip
  • Member
  • 17 posts

Posted 09 October 2006 - 06:55 AM

Dear All,

My website is using MySql database and php. I intend to block users from downloading and saving pdf file while viewing it online. From the php forum, I know that saving file could be disabled if javascript is used to construct the page. Anyone has such javascript?

Any help is much appreciated.

zhq

#2 fenway

fenway
  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 10 October 2006 - 03:53 PM

That's impossible... if you're serving the file ever, the user already has it.
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users