如何保护pdf文件免于在c#.net中复制,保存和下载 [英] How to protect pdf file from copying, saving and downloading in c#.net

查看:231
本文介绍了如何保护pdf文件免于在c#.net中复制,保存和下载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

请帮我
我想用户无法从应用程序复制,保存和下载pdf或html文件.用户只需打开并阅读文档,便不能使用文件.



在此先感谢

Hi all,

Plz help me
i want to user cannot copy,save and download the pdf or html file from the application. user just open and read the document not either else he can do with file.



Thanks in advance

推荐答案



就像Google在GMail中使用附件一样.将您的PDF渲染为JPEG图像,并仅向用户显示该图像.
即,使用此PDF库,您可以将PDF呈现为图像(和其他文件格式)

http://www.imagemagick.org/script/index.php [
Hi,

it''s like google doing it with attachments in GMail. Render your PDF to a JPEG image and show only the image to users.
i.e. with this PDF-Library you''re able to render PDF''s to images (and other file formats)

http://www.imagemagick.org/script/index.php[^]

Regards


这篇关于如何保护pdf文件免于在c#.net中复制,保存和下载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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