Complete PDF Security Reference

Protect PDF Guide: Password Protect & Encrypt PDFs

Master PDF protection -- user vs owner passwords, AES-256 encryption, permissions, redaction, metadata, and step-by-step instructions for secure document sharing.

Up to AES-256 100% Private
By Karan Kumar Updated October 15, 2026 14 min read
Quick Summary

01The password cracking reality

Not all passwords are created equal. This table is based on modern GPU cracking benchmarks (Hashcat, RTX 4090) -- not theory.

Password typeExampleTime to crack (offline, single RTX 4090)Verdict
6 chars, lowercasesecret< 1 secondUseless
8 chars, mixed case + digitsSecr3t12~ 2 hoursWeak
10 chars, mixedMyP@ssw0rd~ 5 yearsOK for low value
12+ char passphrasecorrect-horse-battery-stapleCenturiesStrong
16+ char randomK7$mP9#L2vX4@nQ1Heat death of universeOverkill

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.

What I use

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.

02Which 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.

EngineAlgorithmPDF VersionWhen used
QPDF (WASM)AES-2561.7 (ExtLevel 3)Primary -- true 256-bit, hardware-accelerated
pdf-lib (JS)AES-2561.7 (ExtLevel 3)Fallback if QPDF unavailable
pdf-lib legacyAES-1281.6Never -- 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".

Verify it yourself

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.

03User vs owner password

Two independent passwords, two completely different threat models. Choose based on what you are actually protecting against.

PropertyUser Password (Open Password)Owner Password (Permissions Password)
Blocks opening?Yes -- without it, file is unreadableNo -- anyone can open and view
Restricts printing?Implicitly (cannot print what you cannot open)Yes -- flag in metadata
Restricts copying?ImplicitlyYes -- flag in metadata
Restricts editing?ImplicitlyYes -- flag in metadata
Respected by Chrome/Edge/Firefox?Yes -- cannot open without passwordNO -- browsers ignore permission flags
Respected by Adobe/Foxit?YesYes
Recoverable if lost?Never -- encryption is realOften -- permission flags can be stripped
The critical difference

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.

04Reader-by-reader permission bypass

I tested the same owner-password-protected PDF across 12 readers. Here is what actually happens.

ReaderRespects print restriction?Respects copy restriction?Respects edit restriction?Notes
Adobe Acrobat ProYesYesYesFull enforcement
Adobe Reader (free)YesYesYesFull enforcement
Foxit ReaderYesYesYesFull enforcement
Chrome (built-in)NoNoNoIgnores all flags, allows Save As to strip
Edge (built-in)NoNoNoSame as Chrome
Firefox (PDF.js)NoNoNoIgnores all flags
macOS PreviewNoNoNoAllows export to strip restrictions
LibreOffice DrawNoNoNoOpens for editing freely
qpdf CLINoNoNoqpdf --decrypt strips instantly
Smallpdf / iLovePDF (web)NoNoNoUpload -> download unrestricted
Google Drive viewerPartialPartialPartialSome restrictions hold, print-to-PDF bypasses
AFFLIGO Unlock PDFN/AN/AN/ARemoves owner password if you know it
Bottom line

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.

05How to protect a PDF with AFFLIGO

Five steps, all in your browser. No uploads, no accounts, no file size limits under 1 GB.

1

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.

2

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.

3

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.

4

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.

5

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.

Batch note

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).

06When to use which password

Decision framework based on who receives the file and what they use to open it.

ScenarioUser Password?Owner Password?Why
Emailing contract to client (unknown reader)YesOptionalClient may open in browser -- user password required
Internal team (all use Adobe/Foxit)OptionalYesPermissions respected in controlled environment
Public download (anyone, any tool)YesNoOwner password gives false sense of security
Archive for yourselfYesNoOnly you need access
Print-only template for vendorsNoYesAllow view/print, block edit/copy
Regulatory submission (strict)YesYesDefense in depth -- both layers

07Protect PDF for email sharing

The most common workflow -- send a confidential PDF so only the recipient can open it.

  1. Set a user password (Require password to open). Use a 12+ char passphrase.
  2. Send the PDF as attachment.
  3. Send the password via a different channel -- Signal, WhatsApp, SMS, or phone call. Never same email.
  4. Verify by opening in incognito/private browser window with the password.
Pro tip

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.

08Protect 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.

09Metadata leak: strip before you send

PDF encryption does NOT remove existing metadata. Author name, creation date, GPS coordinates, software used -- all survive encryption.

Metadata fieldRiskHow to strip (free)
Author / CreatorIdentifies you/your orgLibreOffice: File → Properties → Delete
Creation / Modification dateTimeline reconstructionqpdf: qpdf --empty --pages in.pdf -- out.pdf
PDF Producer (software)Reveals toolchainExifTool: exiftool -all= in.pdf
GPS / Location (from scans)Physical location leakExifTool or online EXIF remover
Custom XMP dataWorkflow trackingqpdf or PDFtk
Do this BEFORE encrypting

Strip metadata first, then encrypt with AFFLIGO. If you encrypt first, the metadata is locked inside and cannot be removed without the password.

10Can a protected PDF be hacked?

Honest threat model -- what actually works vs. security theater.

AttackWorks on user password?Works on owner password?Mitigation
Brute-force passwordOnly if password is weak (<10 chars)N/A (no password needed)Use 12+ char passphrase
Permission stripping (qpdf, browsers)No -- file won't openYes -- trivialAlways use user password for sensitive content
Save As / Print to PDFNo -- requires passwordYes -- in Chrome/Edge/PreviewUser password prevents this
Online unlockersNo -- cannot decryptYes -- most workUser password is real encryption
Elcomsoft / hashcat (offline)Only weak passwordsN/AStrong passphrase = computationally infeasible
No backdoors

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.

11Protect 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.

12Common mistakes, and how to fix them

MistakeWhy it failsFix
Using only owner password for confidential filesChrome/Edge/Preview ignore permissions; anyone can Save As unrestrictedAlways add user password for sensitive content
Sending password in same email as PDFInterception = full accessSeparate channel: Signal, SMS, phone call
Weak password ("password123", company name)Cracked in seconds via dictionary attack12+ char passphrase or 16-char random from password manager
Reusing same password across multiple filesOne breach = all files compromisedUnique password per file or per recipient group
Not stripping metadata before encryptingAuthor, dates, GPS locked inside encrypted fileStrip with qpdf/ExifTool first, then encrypt
Assuming "password protected" means "secure"Owner password ≠ encryptionVerify in Adobe: Security Method must show "256-bit AES"
Forgetting the passwordNo recovery possible -- file is permanently lostStore in password manager; test decrypt before sending

13FAQ

Answers to the most common questions about PDF protection.

Yes. 100% free, no signup, no file uploads. All encryption happens in your browser using WebAssembly. Your PDF and password never leave your device.
Primary: QPDF WASM with AES-256 (PDF 1.7 ExtensionLevel 3). Fallback: pdf-lib AES-256. Both are FIPS-197 compliant. Verify in Adobe Reader -> Properties -> Security -> "256-bit AES".
Yes. AFFLIGO detects encryption, prompts for the existing password once (kept in memory for that session), then re-encrypts with your new password. The original password is never stored.
No. Chrome, Edge, Firefox, Preview, and most online tools ignore owner password permissions. They can Save As or Print to PDF to create an unrestricted copy. For real protection, you MUST set a user password.
The file is permanently inaccessible. AES-256 has no backdoor, no master key, no recovery. Store passwords in a password manager. Test decrypt in an incognito window before sending.
AFFLIGO applies the same user/owner password to all files in one run. For different passwords per file, run the tool separately for each file (or group files by recipient).
Typically 1-5% overhead for encryption metadata. AFFLIGO's QPDF engine is efficient -- a 10 MB PDF becomes ~10.3 MB encrypted.
Hard limit: 1 GB per file. Practical limit: your browser tab memory (usually 30-300 MB depending on device). AFFLIGO shows a warning before processing large files.
Yes, use AFFLIGO Unlock PDF tool. Upload the encrypted PDF, enter the password, and download the decrypted version. Works only if you know the password.

Key takeaways

About the author

Karan Kumar

Karan Kumar

Founder of AFFLIGO. Built the Protect PDF engine (QPDF WASM + pdf-lib fallback) that powers this guide's recommendations. Writes about PDF internals, browser crypto, and privacy-first tooling.

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.

Key Takeaways

Karan Kumar, Founder of AFFLIGO

Written by Karan Kumar

Founder of AFFLIGO

Karan built AFFLIGO's Protect PDF engine with user/owner passwords, print-copy-edit permissions and version-matched encryption up to AES-256 — all client-side. He tests every release by locking samples and reopening them in two readers to verify prompts and permissions before publishing.

Last reviewed: October 15, 2026