Posted by svnindia on January 3, 2013 at 5:28am
Hello,
Any body know a solution for Private files view only (download, print not allowed) ?
I found few solutions...
For Private files read only pdf, the file need to create as Images for each page and present those to the user
on the web via your own interface (html, flash etc) keeping in mind flash wont work
on the iphone/ipad if thats required.
PHP with nodejs
http://drupal.org/project/pdf
http://drupal.org/project/pdf_reader
http://drupal.org/node/1531748
https://github.com/mozilla/pdf.js/#contributing
Suggest some source code and ideas...
Thanks in advance,
SVN
Comments
Once someone can see your
Once someone can see your photo, they have access to do what they want with it. You can put in some controls that will fool the non-technical, but anyone with a little technical experience will be able to get around them.
One way is to throw an invisible div over top the image, so that if the user tries to right click and 'save as', they won't be able to since they aren't actually right clicking the image, but rather the div above it. But they can still take a screenshot and crop if they want, or use a tool that allows them to remove the invisible div, or even get the link to the file from the source code and view it directly like that.
Jaypan We build websites
FlexPaper - commercial edition
Try FlexPaper - http://flexpaper.devaldi.com - commercial (paid) edition has HTML5-PDF-readonly capabilities. You get around flash and have a decent level of content-security. Plus, documents can be viewed through iPhone and iPad (!!) Good luck.