PDF Security Guide

PDF Digital Signatures vs Password Protection — Key Differences

PDF documents can be protected with a password (encryption) and/or a digital signature (authentication). These are independent security mechanisms that serve fundamentally different purposes, but users and developers frequently confuse them. A signed PDF can be encrypted, an encrypted PDF can be signed, or neither. This guide explains the difference between each protection type, how they interact, and what each means for password recovery and document access in 2026.

What a digital signature actually does

A digital signature in a PDF (via a signature field or a DocMDP signature) cryptographically binds the signer's identity to the document content. The signature is created using the signer's private key (typically stored on a USB token, smart card, or PKCS#12 file). The signature covers the document's byte range — any modification after signing invalidates the signature.

Digital signatures DO NOT encrypt the document. A signed PDF is fully readable by anyone. The signature is embedded as a signature dictionary in the PDF (type /Sig) and references a signature field in the AcroForm. The signed content is hashed (SHA-256 or SHA-384 for modern signatures, SHA-1 for legacy) and the hash is encrypted with the signer's private key.

Verification requires the signer's public key certificate (included in the signature or fetched from a trust anchor). The verifier decrypts the signature hash with the public key, hashes the document content independently, and compares. If the hashes match and the certificate chain is trusted, the signature is valid.

Critical distinction

A digital signature proves who signed the document and whether it was modified after signing. A password encrypts the document so it cannot be read without the password. These are orthogonal — you can have both, either, or neither on the same PDF.

What password protection actually does

PDF password protection (Standard Security Handler) encrypts the document content with a symmetric cipher (AES-256 for modern PDFs, AES-128 or RC4 for legacy versions). The password is transformed into a symmetric encryption key through a key-derivation function.

When a PDF is password-protected, the content streams, cross-reference table, and some metadata are encrypted. The PDF cannot be rendered or read without entering the correct password. The encrypt dictionary (in the document trailer) stores the encryption parameters but not the password.

Password protection also supports the owner password / user password distinction in some versions. The user password opens the document. The owner password additionally allows changing permissions (printing, editing). In PDF 2.0, this distinction is simplified — there is a single encryption password and separate permissions.

How they interact when both are applied

A PDF can be both signed and encrypted. The signature is applied to the unencrypted document content before encryption. The signature dictionary is not encrypted — signature verification works without the password, but the document content is unreadable without decrypting it first.

Workflow: sign a PDF, then encrypt it. The signature validates the original signed content. When a recipient opens the encrypted+signed document, they must first enter the password (or use their private key for CMS encryption), then the document is decrypted, and the signature can be verified against the decrypted content.

Practical implication: if you forget the password on a signed+encrypted PDF, recovery is needed only for the encryption layer. The signature itself does not lock the document — it only proves authenticity after decryption. The password recovery process is the same as for an unsigned encrypted PDF (hashcat mode 10700 for AES-256).

Signature types and their effects on document modification

Certificate signatures (a simple signature field, /Sig): the document is signed by a user's certificate. The signature can cover specific byte ranges or the entire document. Multiple signatures can exist. Modifying a signed document breaks the original signature but new signatures can be added.

DocMDP signatures (Document Modification Detection and Prevention): a special type of signature that restricts what modifications are permitted without breaking the signature. Permitted actions are defined in the signature's reference dictionary (e.g., filling forms, adding comments, signing). Changes outside permitted actions invalidate the signature.

UR signatures (Usage Rights): embedded by Adobe-based PDF writers to enable additional features (saving, filling forms, adding comments) in Adobe Reader. These are technically signatures but relate to software licensing rather than document security.

Password protection is unaffected by signature type. The password gate operates independently of any signature restrictions.

Recovery scenarios for signed and/or encrypted PDFs

Scenario 1: PDF is signed but NOT password-protected — fully readable. No recovery needed. The signature can be removed (Adobe Acrobat > Certificates > Remove Signature) or verified.

Scenario 2: PDF is password-protected and signed — recovery is password cracking only. The signature does not add or remove recovery difficulty. Use hashcat modes 10400-10700 as appropriate.

Scenario 3: PDF is password-protected with CMS (public-key) encryption and signed — the CMS uses your private key, not a password. If you lose the private key and it's not escrowed, the document is unrecoverable regardless of the signature.

Scenario 4: PDF has a signature that prevents editing — this is DocMDP protection, not encryption. The content is readable. The DocMDP restrictions can be removed by re-saving without the signature or by editing the document catalog to remove the /Sig entry (if permitted).

Signature-based permission restrictions

Some PDFs use an approval signature to restrict further modifications: when a document is signed with a DocMDP level that permits only form filling and signing, any other modification breaks the signature. This is NOT the same as password encryption — the content is still fully readable.

Converting a signed-and-restricted PDF to a format without modifications (e.g., re-saving without the signature) removes the restriction but loses signature validation. For the user who only needs the content, this is acceptable. For the user who needs the signed original, the restriction must be respected.

If you have a signed PDF that blocks editing, and you want to edit it anyway: (1) remove the signature in Acrobat Pro, (2) re-save as a new PDF without signature, (3) edit the new document. The content is unaffected — only the signature verification is lost.

Legal and compliance contexts

Many legal and regulatory frameworks (eSign Act, eIDAS, ESIGN) recognize digital signatures as equivalent to handwritten signatures. Removing a digital signature from a legally executed document may affect its legal standing — even though the content is the same, the signature binding is lost.

Password-protected PDFs without signatures have no authentication — anyone with the password can open them. Signed PDFs without passwords have authentication but no access control. The combination of both provides the strongest protection: only authorized people (with the password) can read the content, and the signature proves who signed it.

In court proceedings: a password-protected signed PDF that has been password-recovered (cracked) and opened is generally admissible if the recovery was authorised (the document owner or legal representative authorized the recovery). The signature remains valid after password recovery — recovery only affects the encryption, not the signature.

Signed vs encrypted PDF identification

  1. 1

    Check if a password is required to open

    If the PDF prompts for a password on open, it's encrypted. If it opens without prompt, there is no file-open encryption.

  2. 2

    Check for signature fields

    Look for blue signature ribbon/tab in Acrobat, or a Signature panel. Signatures appear visually in the document.

  3. 3

    Check for editing restrictions

    If the file opens but you can't edit, check whether the restriction is from a signature (DocMDP) or owner password (permission hash). Both are structurally different.

  4. 4

    For encrypted-only PDFs

    Password recovery via hashcat is the only path. The signature status is irrelevant once decrypted.

  5. 5

    For signed-only PDFs with edit restrictions

    The content is readable. Remove the signature to lift restrictions. No password recovery needed.

Frequently Asked Questions

Can a PDF be both signed and password-protected?
Yes. The signature is applied first, then the document is encrypted. The signature verifies after decryption.
Does removing a PDF password invalidate the signature?
No. Removing the password (by decrypting) preserves the signature. The signature validates the content, not the encryption state.
Can I recover the password of a signed PDF?
Yes — the recovery process is identical to unsigned PDFs. Hashcat modes 10400-10700 based on encryption tier. The signature doesn't affect password recovery.
Is a signed PDF legally the same as a handwritten signature?
In most Tier 1 jurisdictions (US ESIGN Act, EU eIDAS), advanced digital signatures have equivalent legal standing to handwritten signatures, provided the signer's identity is properly verified and the certificate is issued by a trusted CA.
Can I edit a PDF that has a digital signature?
If the signature is a simple approval signature, you can remove it and edit. If it's a DocMDP signature restricting modifications, removing the signature lifts restrictions. The content was always readable.
What is DocMDP vs simple signature?
DocMDP (Document Modification Detection and Prevention) defines permitted changes in a signature reference. Simple signatures (approval) just certify the document at signing time but don't restrict future changes.

Have a forgotten-password PDF to recover?

Run a free analysis — encryption type detected automatically, fast techniques tried first, pay only on success.

Run Free Analysis

Related Reading