Reputation: 1
I want the user to view a PDF file without being able to save (Ctrl+S) or print (Ctrl+P) the document. The user should neither be able to copy the text inside the PDF. Is is possible?
Upvotes: 0
Views: 263
Reputation: 32748
If the document is visible in the users browser then there is nothing you can do to prevent the user from taking a screenshot - so the user can always copy your content in some fashion. Print Screen / Screenshot is basically the same thing.
In terms of not wanting to allow the user to download the PDF - which if you send the PDF as-is to the browser and it opens it inline most browsers offer a download option -- then you should look into rendering the PDF using Javascript.
Upvotes: 1