Google Docs viewer disable download

20,812

You can host your PDF files on Google Docs and prevent viewer downloads. To do this do followings:

  1. Once you login into your Google Docs account at docs.google.com website, you should see listing of documents in your account. Right click specific document that you want to secure by disabling download option.
  2. Then click on “prevent viewers from downloading” option. This will remove downloading option and other users viewing the document cannot download the document file as a whole and reproduce its copy.

enter image description here

Also note, since you can only prevent downloading of documents created by you, click ‘Owned by Me’ option on left side. This will display document created and owned by you. Then you can disable and prevent document downloading option for files on display.

Then you can just share this PDF on your website. IT will be view only. The code will look like that:

<iframe src="url to pdf/preview" width="640" height="480"></iframe>
Share:
20,812
heron
Author by

heron

Updated on March 12, 2020

Comments

  • heron
    heron about 4 years

    Please take a look at this link

    http://jsfiddle.net/C7Py6/3/

    The last icon on google viewer's toolbar - enter image description here enables user to view on new browser window and download PDF. The question is, how can I make it view only and disable download (At least disable this toolbar item). Is that possible with google viewer? or is there any other viewer that works like Google Viewer but view-only?

  • Anthon
    Anthon about 11 years
    It would be better to include code/examples/an explanation here and provide the link as backup for more detailed information
  • Math
    Math about 10 years
    what technique are you talking about?