V
V
Vladislav Sofienko2017-10-09 13:04:58
JavaScript
Vladislav Sofienko, 2017-10-09 13:04:58

Yii2 How to output a protected pdf document?

Hello. How can I display a protected document on the site? The site is made on yii2. Of course, you can give a direct link to a protected pdf, but the joke is that firefox does not care that it is protected and you can copy text through it and print it out. xD
It is better to put the question this way: how to display and protect a PDF document on the site from text copying, printing, opening in a new window. No frames. You can stupidly so that there was a scroll well, or even a scale. Everything.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Sokolov, 2019-07-03
@sergiks

forgot to include js scrollspy plugin

M
Maxim Timofeev, 2017-10-09
@webinar

Why only firefox? In any browser, you can press the right key, download and unlock. Or use a different from the standard pdf viewer, which can ignore. So I think you are Don Quixote.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question