Tutorial

How to Password Protect a PDF (and What Encryption Actually Does)

A practical guide to password-protecting PDFs: open vs. permissions passwords, how PDF encryption levels compare, and what a password really prevents.

LuraPDF Team
LuraPDF Team

Editorial & Technical Team · May 4, 2026 · 7 min read

Password-protecting a PDF is one of the most misunderstood security features in document management. Many people think they've secured a document when they've applied weak encryption that can be brute-forced in seconds. Others apply restrictions that any PDF viewer can bypass by printing to a new PDF.

This guide explains what PDF encryption actually does, what it doesn't do, the encryption levels available, and how to apply meaningful protection using LuraPDF's free browser-based tool.

The Two Types of PDF Passwords

PDF supports two distinct password types that serve different purposes:

User Password (Open Password)

The user password controls who can open the file. Without it, the PDF cannot be decrypted and read. This is true encryption: the document content is cryptographically locked, and only someone with the password can access it.

Use this when: the content should only be readable by specific recipients.

Owner Password (Permissions Password)

The owner password controls what operations are allowed: printing, copying text, editing, filling forms. Without it, the file opens normally but certain operations are restricted.

Critical caveat: Permissions restrictions are advisory, not enforced by cryptography. The file content is not encrypted under the owner password — the owner password only controls a flag in the PDF header. Many PDF viewers (including the print-to-PDF function in any operating system) simply ignore these flags. Any sufficiently motivated person can remove permissions restrictions.

Use this when: you want to signal "please don't copy or print this" to respectful users, but do not rely on it for actual security.

For real security: use a user (open) password.

PDF Encryption Levels

PDF encryption has evolved through several generations:

RC4 40-bit (PDF 1.1 / 1.4)

The original scheme, and still the most widely supported — every reader handles it. The key is short enough that password-recovery software can break it, so treat it as a lock on a desk drawer rather than a safe. Fine for keeping casual eyes off a document; not a defence against someone actively trying.

RC4 128-bit (PDF 1.4)

Stronger but still RC4, which has fundamental weaknesses. Available on many legacy tools. Avoid if possible.

AES-128 (PDF 1.6)

First use of AES in PDF. Substantially more secure than RC4. Adequate for most professional use cases.

AES-256 (PDF 1.7 ext. 3 / PDF 2.0)

Current standard. Uses 256-bit AES in CBC mode with a salt, making brute-force attacks computationally prohibitive for strong passwords.

The encryption level only matters if the password is strong. A 6-character dictionary-word password protected with AES-256 is crackable in minutes. A 16-character random password is computationally unbreakable regardless of the encryption level.

Which level LuraPDF writes

Our Protect PDF tool writes RC4 40-bit — the PDF 1.4 Standard Security Handler listed above. We would rather say that plainly than let you assume otherwise.

What that means in practice: every PDF reader ever made will honour the password and the permissions, which is what makes it useful for the everyday case — stopping casual access, and satisfying a bank, employer, or filing system that asks you to send a document password-protected. It is not strong encryption, and password-recovery software can break it.

So use it for documents where the cost of exposure is inconvenience. For anything where a determined attacker is part of your threat model — patient records, case files, anything regulated — put the PDF inside an encrypted archive or use a dedicated encryption product instead of relying on the PDF password alone.

How to Password Protect a PDF with LuraPDF

  1. Open the tool: Navigate to LuraPDF Protect PDF
  2. Upload your PDF: Drag and drop your file
  3. Set the user (open) password: Enter and confirm the password. Use a strong password — at least 12 characters, mixing letters, numbers, and symbols.
  4. Set permissions if needed: Optionally set an owner password and configure permission restrictions (print, copy, edit)
  5. Click "Protect PDF": The protected PDF is generated in your browser and downloaded immediately

Choosing a Strong PDF Password

The password is the weakest link in any encryption system. Guidelines:

Length over complexity: A 16-character lowercase passphrase ("correcthorsebatterystaple") is stronger than an 8-character mixed-case password ("P@ss1234") because of the dramatically larger keyspace.

Avoid dictionary words: Common words are the first thing brute-force tools try.

Use a password manager: Generate and store random 16–20 character passwords. Never use the same password for multiple documents.

Share passwords out-of-band: Never email a password in the same thread as the protected PDF. Use a separate channel — SMS, phone call, or a secure messaging app.

What Password Protection Does NOT Prevent

Understanding the limits prevents false confidence:

  • Screenshots: Someone with the open password can take a screenshot of any page. Encryption does not prevent screen capture.
  • Transcription: Someone can manually copy what they read.
  • Printing and re-scanning: If printing is allowed, the printed output can be scanned back to a new, unprotected PDF.
  • Forgotten passwords: If you forget the open password, our tools cannot get you back in — Unlock PDF needs the password to work. Keep a copy of the original unprotected file.
  • Permissions bypass: As noted above, permissions restrictions can be bypassed by printing to PDF.

Password protection stops casual unauthorized access and keeps a misdirected file from being read by whoever receives it. How well it holds up against someone actively trying depends on the encryption level — see above. It never protects against a determined adversary who has a copy of the file and time to work on it.

Removing PDF Password Protection

If you own a protected PDF and need to remove the password:

  1. Open LuraPDF Unlock PDF
  2. Upload the protected PDF
  3. Enter the password
  4. Download the unprotected version

Encrypting vs. Redacting

A common confusion: encryption protects who can read a document; redaction removes specific content from the document. They solve different problems:

  • Encrypt if the document should be private but complete
  • Redact if specific information should be permanently removed regardless of who holds the document

For sensitive document workflows, you often need both: redact the content you don't want shared, then encrypt what remains.

Frequently Asked Questions

Can I protect a specific section of a PDF, not the whole file? No — PDF encryption applies to the entire file. To protect specific content, redact the sensitive sections and keep the rest unprotected, or create separate files for different audiences.

Does protection work on mobile PDF viewers? Yes. Password-protected PDFs are supported by every major mobile PDF reader. The user is prompted for the password when opening the file.

I protected a PDF but my colleague can't open it. Verify you shared the correct password through a secure channel, and check they are entering the open password rather than the owner password. Reader support is not the issue here — the format this tool writes is understood by every PDF reader.

Can I add a password to a PDF that already has restrictions? If the PDF has an owner password you don't know, you may not be able to add encryption. If you know the owner password, unlock first, then re-protect.

Is email encryption a better option than PDF encryption? For confidential documents transmitted by email, both are good to have. Encrypt the PDF so the attachment is protected even if the email is intercepted or forwarded. Use email encryption (S/MIME, PGP, or a secure email provider) for the transmission layer. Defense in depth.

Password protection does two jobs well: it keeps a document away from people who should not casually read it, and it satisfies the many workflows that require a file be sent protected. Match the tool to the risk — use a password manager, share the password through a different channel than the file, and reach for real encryption when the document would cause harm in the wrong hands.

About the author

LuraPDF Team
LuraPDF Team

Editorial & Technical Team · May 4, 2026 · 7 min read

The LuraPDF team is a group of document processing experts, software engineers and technical writers making PDF editing free, private and accessible.