I'm going to write a site that lets users to view pdf files but I don't want them to save the files to their own hard drive due to the copy right law. I'm researching how to view it by using PHP, but I have no idea how to disable user not to download the files.
So any suggestion or help would be very much appreciated.
Implementing that useing Google books
<iframe frameborder="0" scrolling="no" style="border:0px" src="https://books.google.com.kh/books?id=e5MkzETNcsgC&lpg=PP1&dq=typography&pg=PA11&output=embed" width="500" height=500> </iframe>
In above image it shows
Embed that will be the code. And Download or Print option is not available on this. Google dosc can prevent download but its allow to
Save to Drive option. Then in drive i can download it. But Google books not allow any of that.
Using Google Drive
Right click on
Then go to Advanced option in left bottom
Tick Both check boxes. After copy
embed link and paste it to your
src. No download and Save drive option is not allowed
Note: Method 01 and Method 02 is Tested