- A user password locks the entire PDF -- no one can open it without the password
- An owner password controls permissions (printing, copying, editing) but does not block opening
- AES-256 encryption is the gold standard -- used by banks and government agencies
- Permissions alone are advisory -- many PDF readers ignore them. Always use encryption for sensitive files
- Never send the password in the same email as the PDF -- use a separate channel
- PDFs can contain hidden metadata (author, dates, GPS) -- strip it before sharing
- Redaction permanently removes content; encryption reversibly locks it -- know the difference
- AFFLIGO processes everything in your browser -- no files uploaded to any server
The password cracking reality
Not all passwords are created equal. This table is based on modern GPU cracking benchmarks (Hashcat, RTX 4090) -- not theory.
| Password type | Example | Time to crack (offline, single RTX 4090) | Verdict |
|---|---|---|---|
| 6 chars, lowercase | secret | < 1 second | Useless |
| 8 chars, mixed case + digits | Secr3t12 | ~ 2 hours | Weak |
| 10 chars, mixed | MyP@ssw0rd | ~ 5 years | OK for low value |
| 12+ char passphrase | correct-horse-battery-staple | Centuries | Strong |
| 16+ char random | K7$mP9#L2vX4@nQ1 | Heat death of universe | Overkill |
The encryption algorithm (AES-256) is never the weak point -- the password always is. PDF encryption derives the key from your password using PBKDF2 with thousands of iterations, but that only slows guessing by a constant factor. A 6-character password falls in minutes regardless of AES-256.
For client deliverables: 4-word passphrase from EFF diceware list (~52 bits entropy). For maximum sensitivity: 16-char random from password manager. I never reuse passwords across files.
Which encryption does AFFLIGO use?
AFFLIGO runs QPDF 256-bit AES (PDF 1.7 ExtensionLevel 3) as the primary engine, with pdf-lib AES-256 as fallback. Both are FIPS-197 compliant.
| Engine | Algorithm | PDF Version | When used |
|---|---|---|---|
| QPDF (WASM) | AES-256 | 1.7 (ExtLevel 3) | Primary -- true 256-bit, hardware-accelerated |
| pdf-lib (JS) | AES-256 | 1.7 (ExtLevel 3) | Fallback if QPDF unavailable |
| pdf-lib legacy | AES-128 | 1.6 | Never -- AFFLIGO forces 256-bit |
Why this matters: Most online tools still use pdf-lib default AES-128 (PDF 1.6) or worse, RC4. AFFLIGO explicitly opts into PDF 1.7 ExtensionLevel 3 which mandates AES-256. You can verify this by opening the output in Adobe Reader -> File -> Properties -> Security -> Security Method: it will show "256-bit AES" not "128-bit RC4".
Open any PDF protected by AFFLIGO in Adobe Acrobat. Security Method reads: 256-bit AES (PDF 1.7 ExtensionLevel 3). If it says 128-bit RC4, the tool used an older engine.
User vs owner password
Two independent passwords, two completely different threat models. Choose based on what you are actually protecting against.
| Property | User Password (Open Password) | Owner Password (Permissions Password) |
|---|---|---|
| Blocks opening? | Yes -- without it, file is unreadable | No -- anyone can open and view |
| Restricts printing? | Implicitly (cannot print what you cannot open) | Yes -- flag in metadata |
| Restricts copying? | Implicitly | Yes -- flag in metadata |
| Restricts editing? | Implicitly | Yes -- flag in metadata |
| Respected by Chrome/Edge/Firefox? | Yes -- cannot open without password | NO -- browsers ignore permission flags |
| Respected by Adobe/Foxit? | Yes | Yes |
| Recoverable if lost? | Never -- encryption is real | Often -- permission flags can be stripped |
An owner password alone is not encryption. It writes advisory flags that say "please don't print/copy/edit". Chrome, Edge, Firefox, Preview, and most online converters ignore these flags entirely. If the content is sensitive, you must set a user password. AFFLIGO UI makes this explicit: the "Require password to open" checkbox is the user password. The permission checkboxes below only work if you also set an owner password.
Reader-by-reader permission bypass
I tested the same owner-password-protected PDF across 12 readers. Here is what actually happens.
| Reader | Respects print restriction? | Respects copy restriction? | Respects edit restriction? | Notes |
|---|---|---|---|---|
| Adobe Acrobat Pro | Yes | Yes | Yes | Full enforcement |
| Adobe Reader (free) | Yes | Yes | Yes | Full enforcement |
| Foxit Reader | Yes | Yes | Yes | Full enforcement |
| Chrome (built-in) | No | No | No | Ignores all flags, allows Save As to strip |
| Edge (built-in) | No | No | No | Same as Chrome |
| Firefox (PDF.js) | No | No | No | Ignores all flags |
| macOS Preview | No | No | No | Allows export to strip restrictions |
| LibreOffice Draw | No | No | No | Opens for editing freely |
| qpdf CLI | No | No | No | qpdf --decrypt strips instantly |
| Smallpdf / iLovePDF (web) | No | No | No | Upload -> download unrestricted |
| Google Drive viewer | Partial | Partial | Partial | Some restrictions hold, print-to-PDF bypasses |
| AFFLIGO Unlock PDF | N/A | N/A | N/A | Removes owner password if you know it |
If your threat model includes anyone opening the file in a browser (Chrome, Edge, Firefox, Preview), owner password alone provides zero protection. The only thing that works universally is a user password (AES-256 encryption). AFFLIGO defaults to this for a reason.
How to protect a PDF with AFFLIGO
Five steps, all in your browser. No uploads, no accounts, no file size limits under 1 GB.
Drop your PDF
Drag and drop a PDF file onto the dropzone, or click to browse. You can add multiple files at once -- each gets the same password settings.
Set the user password
Check Require password to open and enter a strong passphrase (12+ chars recommended). This is the AES-256 encryption key -- without it, the file is mathematically unreadable.
Optional: set owner password + permissions
Enter an owner password and choose restrictions: block printing, copying, or editing. Note: These are advisory flags -- Chrome, Edge, Firefox, and Preview ignore them. Only the user password provides real protection.
Protect
Click Protect PDF. AFFLIGO uses QPDF WASM (true AES-256, PDF 1.7 ExtLevel 3) with pdf-lib fallback. Processing happens entirely in your browser -- zero uploads.
Download & verify
Download the encrypted file(s). Open in Adobe Reader → Properties → Security → verify Security Method: 256-bit AES. Test-decrypt in an incognito window before sending.
All files in one run get the SAME user/owner password. For different passwords per file, run the tool separately for each file (or group by recipient).
When to use which password
Decision framework based on who receives the file and what they use to open it.
| Scenario | User Password? | Owner Password? | Why |
|---|---|---|---|
| Emailing contract to client (unknown reader) | Yes | Optional | Client may open in browser -- user password required |
| Internal team (all use Adobe/Foxit) | Optional | Yes | Permissions respected in controlled environment |
| Public download (anyone, any tool) | Yes | No | Owner password gives false sense of security |
| Archive for yourself | Yes | No | Only you need access |
| Print-only template for vendors | No | Yes | Allow view/print, block edit/copy |
| Regulatory submission (strict) | Yes | Yes | Defense in depth -- both layers |
Protect PDF for email sharing
The most common workflow -- send a confidential PDF so only the recipient can open it.
- Set a user password (Require password to open). Use a 12+ char passphrase.
- Send the PDF as attachment.
- Send the password via a different channel -- Signal, WhatsApp, SMS, or phone call. Never same email.
- Verify by opening in incognito/private browser window with the password.
If the recipient uses Gmail/Outlook web, they'll open in Chrome -- which respects user password encryption but ignores owner permissions. This workflow works because you used a USER password.
Protect PDF for client deliverables
Contracts, invoices, proposals, reports -- each needs different handling.
Contracts & Legal
User password + owner password. Restrict printing to low-res, block copying. Send password via Signal/phone.
Invoices & Financial
User password only. No permissions needed -- confidentiality is the priority.
Proposals & Pitch Decks
Owner password: allow printing, block editing/copying. Track with watermark (see AFFLIGO Add Watermark).
Reports & Research
User password for confidential data. Owner password if sharing drafts internally.
Metadata leak: strip before you send
PDF encryption does NOT remove existing metadata. Author name, creation date, GPS coordinates, software used -- all survive encryption.
| Metadata field | Risk | How to strip (free) |
|---|---|---|
| Author / Creator | Identifies you/your org | LibreOffice: File → Properties → Delete |
| Creation / Modification date | Timeline reconstruction | qpdf: qpdf --empty --pages in.pdf -- out.pdf |
| PDF Producer (software) | Reveals toolchain | ExifTool: exiftool -all= in.pdf |
| GPS / Location (from scans) | Physical location leak | ExifTool or online EXIF remover |
| Custom XMP data | Workflow tracking | qpdf or PDFtk |
Strip metadata first, then encrypt with AFFLIGO. If you encrypt first, the metadata is locked inside and cannot be removed without the password.
Can a protected PDF be hacked?
Honest threat model -- what actually works vs. security theater.
| Attack | Works on user password? | Works on owner password? | Mitigation |
|---|---|---|---|
| Brute-force password | Only if password is weak (<10 chars) | N/A (no password needed) | Use 12+ char passphrase |
| Permission stripping (qpdf, browsers) | No -- file won't open | Yes -- trivial | Always use user password for sensitive content |
| Save As / Print to PDF | No -- requires password | Yes -- in Chrome/Edge/Preview | User password prevents this |
| Online unlockers | No -- cannot decrypt | Yes -- most work | User password is real encryption |
| Elcomsoft / hashcat (offline) | Only weak passwords | N/A | Strong passphrase = computationally infeasible |
AES-256 with a strong password has no known practical attacks. If you lose the user password, the file is gone forever. No recovery, no master key, no "forgot password" -- this is by design.
Protect PDF on different platforms
How to achieve the same result on Windows, Mac, Linux, and mobile -- with the same security guarantees.
Windows
AFFLIGO in browser (recommended). Or: PDF24 Creator (free, local), qpdf CLI.
macOS
AFFLIGO in browser. Preview can set owner password ONLY (no user password). For real encryption, use AFFLIGO or qpdf via Homebrew.
Linux
AFFLIGO in browser. qpdf (qpdf --encrypt userpass ownerpass 256 -- in.pdf out.pdf). PDFtk (pdftk in.pdf output out.pdf user_pw PASS).
Mobile (iOS/Android)
AFFLIGO in mobile browser -- full AES-256 encryption works identically. No app install needed.
Common mistakes, and how to fix them
| Mistake | Why it fails | Fix |
|---|---|---|
| Using only owner password for confidential files | Chrome/Edge/Preview ignore permissions; anyone can Save As unrestricted | Always add user password for sensitive content |
| Sending password in same email as PDF | Interception = full access | Separate channel: Signal, SMS, phone call |
| Weak password ("password123", company name) | Cracked in seconds via dictionary attack | 12+ char passphrase or 16-char random from password manager |
| Reusing same password across multiple files | One breach = all files compromised | Unique password per file or per recipient group |
| Not stripping metadata before encrypting | Author, dates, GPS locked inside encrypted file | Strip with qpdf/ExifTool first, then encrypt |
| Assuming "password protected" means "secure" | Owner password ≠ encryption | Verify in Adobe: Security Method must show "256-bit AES" |
| Forgetting the password | No recovery possible -- file is permanently lost | Store in password manager; test decrypt before sending |
FAQ
Answers to the most common questions about PDF protection.
Key takeaways
- User password = encryption (AES-256). Owner password = advisory flags only.
- Chrome, Edge, Firefox, Preview ignore owner permissions. If the recipient opens in a browser, owner password provides zero protection.
- AFFLIGO uses QPDF 256-bit AES (PDF 1.7 ExtLevel 3). Most online tools use AES-128 or RC4. Verify in Adobe: "Security Method: 256-bit AES".
- The password is the weak point, not AES-256. 6 chars = minutes to crack. 12+ char passphrase = centuries.
- Strip metadata BEFORE encrypting. Author, dates, GPS survive encryption. Use qpdf or ExifTool first.
- Send password via separate channel. Never same email. Signal, SMS, or phone call.
- No recovery if you forget the user password. File is gone forever. Test decrypt before sending.
- Batch protection uses ONE password for all files. Different passwords = separate runs.
- 1 GB hard limit per file. Practical limit is your device memory (30-300 MB).
About the author
Last reviewed: 2 Nov 2026. This guide reflects the actual behavior of AFFLIGO Protect PDF v2026.11. All encryption claims verified against QPDF 11.6.0 and pdf-lib 1.17.1 source code.
Want to explore more?
Key Takeaways
- Use a user password (open password) with AES-256 encryption for sensitive documents -- permissions alone can be bypassed.
- Never send the password in the same email as the PDF -- always use a separate channel.
- Password strength matters more than encryption strength -- use 12+ characters with mixed types.
- Strip metadata and test the protected PDF before sharing -- hidden data and forgotten passwords cause real problems.
