How to Password Protect a PDF (and What It Really Protects)
Encrypt a PDF so that only people with the password can open it. Open vs. owner passwords, which encryption to choose, and how to share the file safely.
Updated · 4 min read
A payslip, a tax return or a medical report in an email attachment can end up anywhere. Mailboxes get hacked, and forwarded messages travel further than you'd expect. A password on the PDF protects the file itself, wherever it goes.
How to add a password
- Open Protect PDF and drop in your file.
- Enter an open password and confirm it.
- Choose what readers may do once they've opened the file.
- Download the protected copy.
The encryption runs in your browser, so neither the document nor the password goes to a server. Before the download, the tool reopens the file to check that the password works.
Two kinds of password
PDFs have two separate passwords, and they do very different jobs.
The open password, also called the user password, encrypts the document. Without it, the content can't be read. This is the real protection.
The owner password, also called the permissions password, controls what people can do with a file they've opened, such as printing or copying text.
| Open password | Owner password | |
|---|---|---|
| Needed to view the file | Yes | No |
| Encrypts the content | Yes | Only with a weak default key if no open password is set |
| Stops a determined person | Yes, if strong | No |
Why permissions aren't real security
If a PDF opens without a password, the reader has to be able to decrypt it. The "no copying" or "no printing" flag is then just an instruction, which well-behaved PDF readers follow. Other software can ignore it, and restrictions like these can be removed in seconds, which is what Unlock PDF does for documents you're allowed to work with.
So use permissions to prevent accidents, not to keep a secret. They're fine for stopping someone from editing a form by mistake, but if the content is confidential, set an open password. If you worry about a document being passed on, a visible watermark with the recipient's name is often a stronger deterrent. Even so, anyone who can read a document can photograph it. No file format changes that.
Choosing the encryption
- AES-256 is the current standard, and the one to use. It's supported by all modern PDF readers.
- AES-128 is still strong and a fallback for much older software.
- RC4 is obsolete and has known weaknesses. Use it only if a very old system can't handle anything else.
Choosing a good password
Strong encryption doesn't help much if the password is weak. Attackers don't break AES. They try passwords at high speed against a copy of the file, and they can do that offline for as long as they like, with no lockout after failed attempts.
That's why length matters most. Four random words, or 14 or more random characters, will hold up far better than a short password with a few substitutions. Avoid names, birthdays and the document's own name. A date of birth is a surprisingly common choice for payslips and bank statements, and it can be tried in seconds.
Sharing the password
Never put the password in the same email as the file. If the mailbox is compromised, you've handed over both. Better options are:
- Send the file by email, then give the password by phone or in person.
- Use a messaging app for the password.
- Agree on a password ahead of time.
Don't lose the password
There's no reset link and no recovery option. With strong encryption and a strong password, the document is effectively gone if you forget it. Keep the password in a password manager, and consider keeping the unprotected original somewhere safe.
How to remove a password
If you know the password and don't need the protection any more, Unlock PDF saves an unencrypted copy. A file that only has permission restrictions can be unlocked without any password. Only do this with documents you own or have permission to change. If you've lost the open password to a file, no honest tool can simply remove it, because the content really is encrypted.
Before you send it
Test the protected file in a normal PDF reader. Check that it asks for the password, that the wrong one fails, and that the right one opens every page. If your recipient uses an older device, ask them to try it too, so they aren't stuck at the last minute.
It's also worth checking the document itself. A password protects the file in transit, but once the recipient opens it, they can see anything inside, including hidden layers and metadata. Remove what they shouldn't see before you encrypt it.
When a password isn't the right tool
For a file you're storing rather than sending, or a file that isn't a PDF, general file encryption may be a better fit. And if several people need access over time, a shared folder with proper access rights is easier to manage than one password that everyone knows, because you can remove a single person's access without having to change anything for the others.