Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Embed PDF on a webpage and prevent download

Tags:

html

pdf

Is there a way to embed a PDF document on a webpage and at the same time disabling download? If possible I would prefer an html5/css3 solution. If no other way is possible I'd go with something else.

like image 944
71GA Avatar asked Apr 12 '12 18:04

71GA


People also ask

How do I stop a PDF from downloading from a website?

You can't disable the Download button in your PDF files, and you sure can't prevent the user from choosing Print... in the right-click menu for the entire screen. What you can do is password protect your PDF in Adobe Acrobat. Aside from password protection, their Protect tool also allows you to disable printing.

Can you make a PDF not downloadable?

Unless you host your own PDF viewer on your website such that the PDF file itself is not internally downloaded by whatever PDF reader the user has on their computer (i.e., your website displays a raster bitmap of the PDF content), there is absolutely no way to prevent the file from being downloaded and shared using ...

How do I save a PDF embedded in a Web page?

If There is No Save Button You can locate this by right-clicking on the embedded document on the website then select “inspect” or inspect elements. Then once the codes are revealed, find the iframe and the src, which represents the PDF embedded, and copy the link inside the iframe code.


1 Answers

just add #toolbar=0 to the url of the pdf

like image 192
Dario Rusignuolo Avatar answered Sep 19 '22 13:09

Dario Rusignuolo