密码保护PDF文件 [英] Password protect a PDF file

查看:94
本文介绍了密码保护PDF文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在使用Visual Studio 2010的Crystal Reports.使用Crystal Reports时,我计划以PDF格式导出文件.但是我想使用密码来保护其中一些PDF文件.使用某些C#库可以做到这一点.我不打算使用任何类似Itext或任何其他东西的第三方库?任何示例代码都会有所帮助.

感谢您的帮助.

Hi,

I am using Crystal Reports for Visual Studio 2010. Using Crystal Reports , I plan to export a file in PDF format. But I want to protect some of these PDF files using a Password. Would it be possible to do so using some C# library. I do not intend to use any third party library like Itext or any thing else? Any sample code would be helpful.

Thanks for your help.

推荐答案

不想使用第三方库?祝你好运!

大约需要6个月的时间来编写自己的库才能做到这一点,或者您可以只获取iTextSharp或其他库,并在大约30分钟内编写密码解决方案.

想要做什么?
Don''t want to use a third party library?? Good luck with that!

It would take you approximately 6 months to code up your own library to do it, or you could just get iTextSharp, or some other library, and code up your password solution in about 30 minutes.

Which would like to do?


这篇关于密码保护PDF文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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