To make a 'read only' embed PDF, with restriction on SAVE & PRINT (8 posts)

  1. ReaDentistry
    Posted 4 years ago #

    I'm trying to embed some PDFs in posts, but I wish the readers can only view but not to print or save a local copy of them.
    If I use embed code like:
    <embed src="http://yoursite.com/the.pdf" width="600" height="500">
    Obviously the PDF can still be downloaded by pressing the 'save' button, even it has been protected from printing and editing.
    It is the same situation if I use the 'embed pdf' plug-in.
    Better with 'Google Doc Embedder' as i was able to hide all the control buttons away if I choose to use 'Enhanced Viewer' but as the pdf will be handled by Google Docs, any pdf files of a size over 20MB will not be displayed, instead you have "Sorry, we are unable to retrieve the document for viewing or you don't have permission to view the document...".
    Plus, it will take ages to load a pdf file with the GDE plug-in.

    My question is: is there really any way we can display a 'READ ONLY' PDF file in a post or page?

    Thanks a lot for your answers!

  2. My question is: is there really any way we can display a 'READ ONLY' PDF file in a post or page?

    No. No matter what you do, someone can simply take a screenshot of every page and print it out.

  3. ReaDentistry
    Posted 4 years ago #

    Thanks for reminding, zoonini.
    Agree. But if I reduce the height of the window, it is still easy for reading but much more difficult for screenshot of every page. Also the files I'm trying to display are quite large, at least it will make someone's life more difficult if they really want to.
    Still anyone have any good idea?

  4. p.s. a tech-savvy person will always find a way around your printing restrictions, though, and it will frustrate most everyone else.


    If you explain why you're trying to prevent printing perhaps there are some other solutions available. But again, this is a WordPress forum, so you may want to try posting your question in a different type of forum.

  5. ReaDentistry
    Posted 4 years ago #

    Thanks again, Zoonini. I think my question is about WordPress.
    I know that if you actually have the PDF file, you can definitely work out how to print it somehow, no mater what kind of protection you have on the file. That why what im concentrating on is not to put a password or certificate on a pdf file, but to find out if there is a way that the PDF file is embedded in a viewing window with no functional buttons around. So there will be no way to save it and the only way to make a copy is screenshot which I would not really mind as I said before.
    The closest thing I got is the Google docs embeder, it can hide all the functional buttons away, but only a file under 20MB can be viewed, and it running very slow on my site to display a PDF.

    There are already some other threads out there about similar need, but yet none is perfect.
    It would be perfect if I can use the short code mentioned at beginning of the thread, but have the buttons hidden, as I like it displaying PDFs very fast.


  6. ReaDentistry
    Posted 4 years ago #

  7. esmi
    Forum Moderator
    Posted 4 years ago #

    This is not a WordPress issue. If you don't want someone printing your pdf files, don't put them on the Web.

Topic Closed

This topic has been closed to new replies.

About this Topic