PDF文件的密码保护 [英] Password Protection of PDF Files

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

问题描述

我们有一个条件,以保护使用密码的PDF文件。是否有任何基于Java的,开放源码的工具,这将有助于我们在这方面?

We have a requirement to protect PDF files using a password. Are there any Java-based, open source tools which will help us in this regard?

推荐答案

我会推荐使用 iText的 Java的PDF库。

I would recommend using the iText java PDF library.

在iText的,还有一类被称为 PdfEncrypter 这应该让你的密码保护的PDF文件。

Inside iText, there is a class called PdfEncrypter which should let you password protect a PDF file.

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

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