FirePDF

Home › Guides › How to protect or unlock a PDF with a password

How to protect or unlock a PDF with a password

Keep sensitive documents private, and open files you are allowed to open

When to protect a PDF

Protection fits a contract, payslip or medical letter that only one person should read; a document you want read but not printed or copied; and an archive copy stored on a shared drive. A password that opens the file is the strongest control this site offers. The print and copy settings are much weaker.

Step by step

  1. Open Protect PDF and add one or more PDFs. Several files are encrypted one after another with the same password, and the results come back in one zip.
  2. Type a password in Password to open the PDF, then type it again in Confirm password.
  3. Under What people can do once it's open, tick or untick the boxes. Print and Copy text are ticked by default. Edit or annotate is not ticked.
  4. Press Process. A single file gives name-protected.pdf, where name is the original file name.

Check the result

Open name-protected.pdf in a PDF reader. It should ask for the password before showing any page. Open it with the password and check that every page displays. If you ticked Print or Copy text, test those too. Some readers ignore those settings, so do not rely on them.

What the encryption does

The tool writes the standard PDF security handler with a 128-bit RC4 key. RC4 is an older cipher, and this tool does not write the newer AES encryption. The page creates a random owner password and does not show it to you, so the print and copy settings cannot be changed later from a PDF reader. The password itself is not sent anywhere; the encryption is applied in your browser. Text and images are encrypted, not redrawn, so the content does not change in this step.

Messages you may see

Limits and warnings

Common mistakes and fixes

Common questions

What if I forget the password? The tool cannot recover it, and there is no reset. Unlock PDF also needs the password.

Are my files uploaded? No. The encryption runs in your browser. The PDF libraries are loaded from a public CDN when the tool is first used.

Are the print and copy settings reliable? They are settings that standard PDF viewers are expected to respect. They are not a strong lock. The password that opens the file is the real protection.

More help: all FirePDF guides. Try the tool: Protect PDF.