PDF Security: Passwords, Encryption, and Protection Explained

Published · Updated · 13 min read · OnCloudPDF Team

Understand PDF security options - password protection, encryption levels, and document permissions. Learn how to secure your sensitive documents.

Types of PDF Security

PDFs support multiple layers of security, each serving different purposes. Understanding these distinctions helps you apply appropriate protection for your documents.

Password Protection

PDF password protection comes in two forms:

Open Password (User Password): Prevents opening the document entirely without the correct password. The document cannot be viewed, printed, or manipulated without authentication.

Permissions Password (Owner Password): Allows opening and viewing but restricts specific actions — printing, editing, copying text, etc. The document is viewable but limited in what users can do with it.

Key Difference: Open passwords protect confidentiality (who can view). Permissions passwords protect integrity (what viewers can do).

Digital Signatures

Unlike passwords, digital signatures provide:

  • Identity Verification: Confirms who signed the document
  • Integrity Verification: Detects if the document was modified after signing
  • Non-Repudiation: Signer cannot deny signing

Digital signatures don't prevent viewing but prove authenticity.

Certification

Certified PDFs are signed by the creator and include:

  • Author identity verification
  • Document integrity protection
  • Specified allowable changes (or none)

Certification goes beyond basic signatures to establish document authenticity from creation.


Encryption Standards

PDF encryption has evolved through several standards with increasing strength.

40-bit RC4 (PDF 1.1-1.3)

Status: Obsolete and insecure

Characteristics:

  • Introduced in early PDF versions
  • Easily broken with modern computing
  • Should not be used for any sensitive content

Use case: None — avoid entirely

128-bit RC4 (PDF 1.4)

Status: Outdated but still common

Characteristics:

  • Improved over 40-bit but no longer considered secure
  • Can be broken with sufficient computing resources
  • Still supported by most PDF software

Use case: Legacy compatibility only

128-bit AES (PDF 1.5-1.6)

Status: Acceptable for most purposes

Characteristics:

  • AES is a strong, modern algorithm
  • 128-bit keys provide reasonable security
  • Broadly supported across PDF software
  • Suitable for most business documents

Use case: General business document protection

256-bit AES (PDF 1.7+)

Status: Current strongest standard

Characteristics:

  • Industry-standard encryption algorithm
  • Maximum key length for AES protection
  • Considered secure against all known attacks
  • May have compatibility issues with older software

Use case: Highly sensitive documents, maximum security requirements

Choosing Encryption Strength

Security Need Recommended Encryption
Basic deterrent 128-bit AES
Business documents 128-bit AES
Confidential materials 256-bit AES
Regulatory compliance 256-bit AES
Maximum security 256-bit AES

Permission Settings

Beyond password protection, PDFs support granular permission controls.

Available Permissions

Printing:

  • None — no printing allowed
  • Low resolution — print at reduced quality
  • High resolution — full quality printing

Content Changes:

  • No changes permitted
  • Form filling only
  • Form filling and commenting
  • All changes except page extraction
  • All changes permitted

Content Copying:

  • Copying text and images allowed or prohibited
  • Screen reader access for accessibility

Document Assembly:

  • Inserting, deleting, rotating pages allowed or prohibited

How Permissions Work

Permissions are enforced by PDF reader software:

  1. Document has owner (permissions) password
  2. PDF specifies which actions are allowed
  3. Reader software respects these restrictions
  4. Owner password required to change permissions

Important: Permission restrictions depend on software compliance. See limitations section below.

Common Permission Combinations

View-Only Document:

  • No printing, no copying, no changes
  • Protects content from reproduction

Fillable Form:

  • Form filling allowed, other changes prohibited
  • Printing allowed, copying may be restricted

Comment Review:

  • Commenting and form filling allowed
  • Other changes prohibited

Full Access with Tracking:

  • All permissions granted
  • Signature required before changes
  • Audit trail of modifications

When to Use Each Security Type

Use Open Password When:

Confidentiality is critical — content should not be seen by unauthorized parties

  • Sensitive financial documents
  • Confidential business information
  • Personal private documents
  • Legal materials before release

Sharing with known recipients — you can securely communicate the password

Note: Password must be shared securely (not in the same email as the document).

Use Permissions Password When:

Content viewing is okay, but you want to limit actions:

  • Prevent casual copying of your content
  • Discourage modification
  • Limit printing to specific purposes
  • Allow form completion but not other changes

Note: This provides deterrence, not absolute security. OnCloudPDF's Protect PDF adds an open password (AES-256) and can restrict printing, copying and editing; it does not create certificate-based digital signatures.

Use Digital Signatures When:

Identity and integrity matter:

  • Legal contracts requiring proof of signing
  • Documents requiring verification of authenticity
  • Regulatory compliance requiring non-repudiation
  • Any document where modification detection is important

Add a signature image to your PDFs for basic signing needs; note that OnCloudPDF does not create certificate-based digital signatures.

Use Certification When:

You're the original author establishing document authority:

  • Official publications
  • Master documents for distribution
  • Templates requiring integrity
  • Documents where any modification should be detected

Security Limitations

Understanding what PDF security can and cannot do prevents false confidence.

Permission Restrictions Are Advisory

Critical Truth: Permission restrictions (no copying, no printing) are enforced by PDF reader software. They do not cryptographically prevent these actions.

  • Some PDF tools intentionally ignore permissions
  • Users can potentially use workarounds
  • Screenshots can always capture screen content
  • Permission passwords can be removed more easily than open passwords

Implication: Permissions deter casual misuse but don't prevent determined circumvention.

Encryption Strength Depends on Password Strength

Even 256-bit AES encryption is vulnerable if the password is weak:

  • "password" — broken instantly
  • "Company2023" — broken quickly
  • "X7#mP9@kL2$vQ" — very difficult to break

Strong passwords should be:

  • At least 12 characters
  • Mix of uppercase, lowercase, numbers, symbols
  • Not based on dictionary words or patterns
  • Unique to each document if possible

Screen Capture Bypasses All Protection

No PDF protection can prevent:

  • Taking screenshots
  • Photographing the screen
  • Recording screen while viewing
  • Manual transcription

If someone can view content on screen, they can potentially capture it.

Password Recovery/Removal

Open passwords (strong): Essentially unbreakable with proper encryption and password strength.

Permissions passwords: Can be removed relatively easily with various tools, as the document itself is not fully encrypted.

Lost passwords: If you lose the open password to a strong encrypted PDF, recovery is unlikely.


Best Practices for PDF Security

Before Applying Protection

Consider your actual threat model:

  • Who are you protecting against?
  • What's the worst case if protection fails?
  • Is encryption necessary or just permissions?

Applying Password Protection

  • Use strong, unique passwords
  • Use 256-bit AES encryption when available
  • Share passwords through separate secure channels
  • Document password storage securely

For Business Documents

  • Establish consistent security policies
  • Consider adding watermarks for tracking
  • Use digital signatures for important documents
  • Train staff on security procedures

For Sensitive Personal Documents

  • Use open passwords for confidential content
  • Store passwords securely (password manager)
  • Keep unencrypted backups in secure locations (don't lose access to your own documents)

Frequently Asked Questions

What's the difference between open password and permissions password?

Open password prevents viewing without the password. Permissions password allows viewing but restricts actions (printing, copying, editing). Use open for confidentiality, permissions for usage control.

Can permissions-protected PDFs be unlocked?

Yes. Permissions passwords provide deterrence, not absolute security. Various tools can remove permission restrictions. For true protection, use open passwords with encryption.

How to remove PDF password if you know it?

If you have authorization, use OnCloudPDF's Unlock tool: type the password and it gives you a copy without protection, decrypted in your browser. It never guesses or recovers passwords. To add protection, use Protect PDF (AES-256).

Is PDF encryption actually secure?

With 256-bit AES encryption and a strong password (12+ characters, mixed types), PDF encryption is very secure. Weaker encryption (40-bit, 128-bit RC4) or weak passwords significantly reduce security.

Can I password-protect a PDF for free?

Yes, several tools offer free PDF password protection. Yes. OnCloudPDF's Protect PDF adds a password with AES-256 encryption in your browser. Choose a strong password.

What happens if I forget the PDF password?

If you forget an open password with strong encryption, recovery is essentially impossible. Always store passwords securely. Permissions passwords can be removed more easily.


Conclusion

PDF security offers multiple protection layers — from basic password protection to strong encryption and digital signatures. Understanding the capabilities and limitations of each security type helps you apply appropriate protection for your documents' sensitivity level.

OnCloudPDF provides PDF security tools:

  • Protect PDF adds an AES-256 password and optional print, copy and edit restrictions, in your browser
  • Unlock removes a password you know, or restrictions on a file that already opens (it is not a password cracker)
  • Sign documents with a signature image
  • Watermark documents with visible text (not a security feature)
  • Browser-based processing so files are not uploaded

Need to unlock your PDFs? Try OnCloudPDF's unlock tool if you have proper authorization; it cannot recover or guess passwords.

Related tool: Unlock PDF. To unlock a PDF with OnCloudPDF, select the file, type its password if it asks for one, and click Unlock PDF.

Need to Unlock a PDF?

Copy a protected PDF into an unprotected document when you have authorization. It does not crack passwords. Free and in your browser.

Unlock PDF Now