禁用PDF保存并打印按钮 [英] Disable PDF Save and Print Button

查看:142
本文介绍了禁用PDF保存并打印按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我想在线显示我的pdf文件,我不希望任何访问者下载或打印该pdf文件。



他们是否可以阻止保存和打印PDF,或者任何人都可以帮助我使用第三方工具来帮助我完成这项任务。


先谢谢。

推荐答案

您可以保护pdf文件(密码保护),这样可以防止打印文档。以下是adobe到安全pdf文档的链接。我很确定开源版本会有类似的功能。



http://help.adobe.com/en_US/Acrobat/8.0w/Professional/help.html?content=WS58a04a822e3e50102bd615109794195ff-7e04.html [ ^ ]



至于阻止某人下载文档,这可能更像是网页安全的功能。



正如Prera​​k Patel所述,这并不妨碍人们截取文件的屏幕截图。
You can secure the pdf file (password protect) this will prevent the document from being printed. Below is a link to adobe to secure pdf documents. I am pretty sure the open source versions will have a similar feature.

http://help.adobe.com/en_US/Acrobat/8.0w/Professional/help.html?content=WS58a04a822e3e50102bd615109794195ff-7e04.html[^]

As far as preventing someone from downloading the document, this is probably more a function of the web page security.

As Prerak Patel stated above, this does not prevent one from taking a screen capture of the document.


AFAIK,你做不到。控件现在在浏览器中,因此您无法处理。



但我有一个建议,你可以将pdf转换成flash然后你可以在浏览器中显示它,用户现在无法打印(即使不能复制 - 粘贴)。
AFAIK, you can't. The control is now in browser so you can't handle that.

But I have a suggestion, you can convert the pdf into flash then you can display it in browser, Users can't print now(Even can't copy-paste).


您正在寻找的是数字版权管理。是的,你可以这样做,就像谷歌和其他电子书服务一样。



谷歌已经转向使用E-PUB格式,因为它很容易获得大多数pdf安全性,包括免费开源pdf安全方法。



我希望我能说
What you are looking for is called digital rights management. And yes, you can do that, just like Google and other E-book services.

Google has moved to using the E-PUB format because it is easy to get around most pdf security including the "free" open source pdf security methods.

I wish I could just say
If (MyBook.pdf != Secure) {Secure(MyBook.pdf)};



但事实是,这不是一件简单的事情,我发现的大多数解决方案都是使用谷歌。您需要研究数字版权管理并选择适合您的解决方案。我甚至为您搜索了Google搜索链接。



http://www.google.com/#hl=en& sugexp = ldymls&安培; XHR = T&安培; q = PDF +数字+版权+管理与; CP = 18&安培; PF = p与M. sclient = PSY&安培;源= HP&安培;水溶液= 0&安培; AQI =安培; AQL =安培; OQ = PDF + Digital + Rights& pbx = 1& bav = on.2,or.r_gc.r_pw。& fp = 7073ce229e5c99ed& biw = 1089& bih = 513 [ ^ ]



问候


But the fact is, this is not a simple thing to implement and most of the solutions I have found by using Google. You need to research Digital Right Management and pick the solution that works for you. I’ve even included the link for the Google search for you.

http://www.google.com/#hl=en&sugexp=ldymls&xhr=t&q=PDF+Digital+Rights+Management&cp=18&pf=p&sclient=psy&source=hp&aq=0&aqi=&aql=&oq=PDF+Digital+Rights&pbx=1&bav=on.2,or.r_gc.r_pw.&fp=7073ce229e5c99ed&biw=1089&bih=513[^]

Regards


这篇关于禁用PDF保存并打印按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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