Answer the question
In order to leave comments, you need to log in
Can I somehow disable the ability to download a PDF file when viewed with a browser viewer?
Hi all.
Tell me, please, is it possible to somehow disable the ability to download a PDF file when viewed with a browser viewer?
Or maybe there are some other alternatives (viewers) to solve this problem?
Thanks :)
Answer the question
In order to leave comments, you need to log in
In fact, it all depends on how much you want to make downloading difficult, and whether you need to determine who released the pirated from you. In the general case, there is no protection - for example, you can take a screenshot.
There are viewers with flash converters (although this is not fashionable now, I have it turned off)
Ideas for levels how to do this:
1. convert PDF to pictures, and show them.
2. 1 + watermark with a session (to identify a pirate)
3. 2 + pictures are made as a puzzle, reassembled on the client.
4. 3+ canvas & xor engine. Pixels are animated so that the eye perceives them as a whole picture, but there was garbage on the screenshot
5 ....
Fantasies flight is unlimited
In general, you can render PDF to PNG, and for each user session, generate random file names with pages, check the download frequency. This is how the task is usually accomplished.
One of the options is to issue to the client not the final document, but a viewer container, for example, on flash. Thus, even in the cache on the client, only the viewer itself is found, and not the document. Flash, in turn, should also request the document not directly, but through a layer + authorization.
You can also "shade" the document on the print screen for greater protection, but this of course will not save you from taking pictures of the screen and taking a screencast. There are no absolute data protection solutions to which the user has already gained access, at least he can rewrite them on a piece of paper or simply remember them. So when setting a task, you need to develop clear requirements for the level of protection and stick to them.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question