您正准备通过电子邮件向客户发送一份合同。合同中包含个人信息、价格详情和保密条款。为 PDF 设置密码,是在打开文件前增加一道屏障的最简单方法。但“密码保护”实际涵盖的安全级别差异很大,因此在依赖它之前,值得先了解它能提供什么保护。
PDF 密码保护的两种类型
- 打开密码(用户密码): 在兼容的 PDF 阅读器中,必须先输入此密码才能打开文档。这才是真正的访问屏障。
- 权限密码(所有者密码): 它不会阻止文件被打开,而是向所使用的 PDF 阅读器声明打印、复制或编辑限制。是否真正执行这些限制,完全取决于阅读器;有些会遵守,有些则不会。因此应将其视为威慑,而不是牢不可破的锁。
PDFly 实际使用的加密方式
PDFly 的“保护 PDF”工具 encrypts your file using the PDF Standard Security Handler with RC4, 40-bit encryption — the original encryption format built into the PDF specification since version 1.1. It's worth being direct about what that means: 40-bit RC4 is old and, by modern standards, weak. It's not comparable to the AES-256 encryption used in current-generation software, and a determined attacker with the right tools can brute-force a 40-bit key without much difficulty. The main things in its favor are compatibility (virtually every PDF reader ever made, including very old ones, can open it) and that it stops the large majority of people who might casually open a file they shouldn't — a coworker glancing at a shared drive, someone who found a USB stick. It is not the right choice for defending a document against someone specifically targeting it with real resources.
实际而言,这种 PDF 密码保护提高了随意或碰巧访问文件的门槛,但无法提供足以抵御有技术能力、有时间且有明确动机的攻击者的保护。如果文档确实需要抵御针对性的破解尝试,仅给 PDF 设置密码并不够。您应同时限制文件存储位置的访问权限,或使用专门为此类威胁提供现代加密的平台。
如何为 PDF 设置密码保护
- Open PDFly 的“保护 PDF”工具.
- 上传您的 PDF 文件。
- 输入并确认打开文档所需的密码。
- 选择权限——根据需要允许打印、复制或编辑。请记住,不同阅读器对这些权限的执行情况并不一致。
- 点击“保护 PDF”,然后下载加密后的文档。
选择与实际防护范围相匹配的密码
由于薄弱环节在于加密方式本身,而不是密码,所以更长或更复杂的密码并不能显著增加暴力破解文件的难度。但密码仍然很重要,因为它可以防止别人直接猜中并输入密码。请注意以下几点:
- Don't reuse a password from an account or another document — if it leaks from one place, don't hand an attacker a second target.
- Avoid the obvious: names, dates, "password," or anything easily guessed about you or the document's subject.
- Share it separately from the file itself — a text message or phone call, never the same email thread as the attachment.
- Store it somewhere retrievable. There's no way to recover a lost password from an encrypted PDF, by PDFly or anyone else.
密码保护与内容涂黑
两者解决的是不同问题,不应混为一谈。密码用于限制谁可以打开整份文档——文档中的所有内容仍然存在,只是被密码锁住。 Redaction permanently removes specific sensitive content from the document itself, regardless of who eventually opens it. If a document needs both — limited access and specific details permanently gone — redact first, then password-protect the result.
常见问题
PDFly 的密码保护无法破解吗?
不能。它使用 PDF 标准安全处理程序和 RC4 40 位加密,适合阻止随意或碰巧发生的访问,但按现代标准来看较弱,不应依赖它来抵御有决心且具备技术能力的攻击者。
权限限制真的能阻止他人打印或复制吗?
这取决于 PDF 阅读器。大多数现代阅读器会遵守这些设置,但并非全部如此,因此应将权限限制视为威慑,而非保证。
之后可以移除 PDF 密码吗?
Yes — use an unlock tool with the password to remove it.
如果忘记密码怎么办?
丢失的 PDF 密码无法恢复。请务必将密码存放在安全的地方,因为 PDFly 或任何其他人都无法替您找回。