Complete Guide to PDF Security: Encryption, Passwords & Digital Rights
How PDF passwords and encryption actually work, what permission restrictions can and can't stop, and when to use digital signatures, watermarks or DRM for sensitive documents.
PDFs carry contracts, invoices, payslips, medical letters and ID scans, so it's worth knowing how to protect them. This guide explains the security features built into the PDF format, what each one really protects against, and which to use for different situations.
The Two Kinds of PDF Password
PDF security revolves around two separate passwords, and mixing them up is the most common misunderstanding.
1. The open password (user password)
This password encrypts the file. Without it, the PDF can't be opened or read. With modern AES-256 encryption and a strong password, the content is genuinely protected, even if someone steals the file.
2. The permissions password (owner password)
This password sets restrictions: no printing, no copying text, no editing. The document still opens without a password; the restrictions are just flags that PDF software is asked to respect.
Important: permission restrictions are weak. Many programs ignore them, and anyone who can open and view a document can photograph or screenshot it. Use them as a polite "please don't edit", not as real security.
How PDF Encryption Works
When you set an open password, PDF software encrypts the document's content with a symmetric cipher. The versions you'll see:
Encryption · Status
RC4 40-bit · Obsolete and easily broken. Avoid.
RC4 128-bit · Outdated. Avoid for sensitive documents.
AES-128 · Acceptable, but older.
AES-256 · Current standard (PDF 2.0 and Acrobat X onwards). Use this.
AES-256 itself is not the weak point. The password is. Attackers who get the file can try billions of password guesses offline, so a short or common password can be cracked even when the encryption is strong. Use a long, random password or passphrase of at least 12 to 15 characters, and never reuse one you use elsewhere.
Sharing the password safely
Don't send the password in the same email as the PDF. Send it a different way: a text message, phone call or a password manager's secure sharing feature.
Certificate-Based Encryption
Instead of a shared password, a PDF can be encrypted for specific people using their digital certificates (public keys). Only those recipients can open it, and nobody has to exchange a password. It's common in large organisations and government, but needs certificate infrastructure to set up.
Digital Signatures
A digital signature is different from a scanned image of a handwritten signature. It uses a certificate to prove two things:
- Who signed the document (authenticity).
- That nothing has changed since (integrity). If anyone edits the file after signing, PDF readers show the signature as invalid.
Signatures from a trusted certificate authority, with a trusted timestamp, are accepted as legally binding electronic signatures in many countries. A digital signature doesn't hide the content. Combine it with encryption if the document is also confidential.
Redaction: Removing Information Properly
Drawing a black box over text in a PDF editor often doesn't remove the text underneath. It can still be copied, searched or revealed by deleting the box. Several high-profile leaks have happened exactly this way.
To redact properly:
- Use a proper redaction tool (Adobe Acrobat Pro and some other PDF editors have one) that deletes the underlying text and images.
- Remove hidden data too: metadata (author, comments), earlier versions and attachments.
- Check the result by trying to select and search the redacted area.
Watermarks
A visible watermark, such as "CONFIDENTIAL", "DRAFT" or "Copy for Jane Smith", doesn't stop copying, but it discourages leaks and makes clear where a copy came from. Personalised watermarks are especially effective: people are much less likely to share a document with their own name stamped across it. You can add one with our free PDF Watermark tool.
Digital Rights Management (DRM)
Enterprise DRM systems, such as Microsoft Purview Information Protection and specialist document-security services, go further than built-in PDF passwords:
- Access can be revoked after a document is sent.
- Documents can expire after a set date.
- Access can be limited to specific people or devices, and every open can be logged.
DRM usually requires the reader to sign in or install software, so it suits organisations sharing highly sensitive documents, not everyday files. Even DRM can't stop someone photographing their screen.
Other Risks to Know About
- Hidden metadata: PDFs can contain the author's name, company, software and edit history. Check File → Properties before sharing.
- Malicious PDFs: PDFs can contain scripts and links. Keep your PDF reader updated, and be wary of unexpected attachments.
- Online tools: uploading a confidential PDF to a website means trusting that site with it. Prefer tools that work in your browser without uploading, or desktop software.
Compliance
Rules such as GDPR (personal data in Europe), HIPAA (US health information) and PCI DSS (card payment data) don't name a specific PDF setting, but they do expect sensitive data to be protected appropriately. In practice, that means encrypting files that leave secure systems, limiting who can access them and keeping records. Check the exact requirements for your sector.
Which Protection Should You Use?
Goal · Best option
Stop strangers reading a file sent by email · AES-256 open password, shared separately
Prove a document is genuine and unaltered · Digital signature
Permanently remove sensitive details · Proper redaction
Discourage leaks and mark drafts · Visible watermark
Revoke access or track opens · Enterprise DRM
Prevent casual editing · Permissions password (weak, but simple)
How to Password-Protect a PDF
- Adobe Acrobat Pro: Tools → Protect → Encrypt with Password.
- LibreOffice (free): open or create the document, then File → Export as PDF → Security → Set Passwords.
- Microsoft Word: File → Save As → PDF → Options → "Encrypt the document with a password".
- Mac Preview: File → Export as PDF → Show Details → Encrypt.
Conclusion
The PDF security feature that truly protects content is encryption with a strong open password, ideally AES-256. Permission restrictions are easy to bypass, so don't rely on them for anything sensitive. Add digital signatures when authenticity matters, redact properly when information must go, and use watermarks to discourage leaks.
To mark copies as confidential, add a visible stamp with our PDF Watermark tool. It runs in your browser, so your document isn't uploaded.