It is necessary to implement a preview page for a multipage pdf file so that the original cannot be downloaded. And the content that will be displayed on the page with a watermark and is not acceptable for printing and scanning quality.
Those. in my understanding, you need to render everything in some kind of jpeg, overlay png and create a gallery.
Is there a simpler solution, without downloading the docks themselves to third-party servers?