Google文档查看器禁用下载 [英] Google Docs viewer disable download

查看:466
本文介绍了Google文档查看器禁用下载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请查看此链接

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

Google查看器工具栏上的最后一个图标 - 使用户能够在新的浏览器窗口中查看并下载PDF。问题是,如何才能使其仅查看并禁用下载(至少禁用此工具栏项)。这可能与谷歌浏览器?或者是否有任何其他查看器像Google Viewer一样但只能查看?

The last icon on google viewer's toolbar - 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?

推荐答案

您可以在Google文档上托管PDF文件并阻止观众下载。为此,请执行以下操作:

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


  1. 在docs.google.com网站上登录Google文档帐户后,您应该看到文档列表在您的帐户中。右键单击要通过禁用下载选项来保护的特定文档。

  2. 然后单击阻止查看者下载选项。这将删除下载选项,查看文档的其他用户无法整体下载文档文件并重现其副本。

另请注意,因为您只能预防下载您创建的文档,单击左侧的拥有者选项。这将显示您创建和拥有的文档。然后,您可以禁用和阻止显示文件的文档下载选项。

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.

然后您可以在您的网站上共享此PDF。 IT将仅查看。代码如下所示:

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>

这篇关于Google文档查看器禁用下载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆