如何禁用pdf另存为按钮? [英] How to disable pdf save as button?

查看:89
本文介绍了如何禁用pdf另存为按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用iTextSharp或任何其他解决方案禁用PDF文件中的另存为按钮,因为我希望仅显示pdf的内容而不允许在本地驱动器中下载pdf文件?

How to disable Save as button in PDF file using iTextSharp or any other solution because I wish to show only the content of pdf and not allow to download pdf file in local drive ?

推荐答案

无法阻止保存在某些查看器中打开的PDF文件...

您唯一能做的就是为PDF文件添加一些安全策略(密码保护) )或加密它(另一种密码保护)......

但是!事件不会阻止用户创建尽可能多的PDF文件副本......但是如果没有密码,它将阻止打开它...
There is no way to prevent save of a PDF file opened in some viewer...
The only thing you can do is adding some security policy to the PDF file (password protection) and or encrypt it (an other kind of password protection)...
However! Event that will not prevent the user to create as many copies of the PDF file as one wants...but it will prevent the opening of it without the password...


这篇关于如何禁用pdf另存为按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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