PDF Password vs Permissions: What Actually Keeps a File Private
Open the security settings of almost any PDF tool and you meet two boxes that look like they do the same job. One asks for a password to open the document. The other asks for a password to change its permissions: whether people can print it, copy text from it or edit it.
Many people tick the second box, switch off printing and copying, and believe the file is now locked. It is not, and the difference is large enough to matter if the file holds salaries, a contract or an ID.
We set up a test file both ways and tried to get at what was inside.
The two passwords, in plain words
The open password (also called the user password) is needed to open the file at all. Without it, the content is encrypted. A program that does not know it sees scrambled data and nothing else.
The permissions password (also called the owner password) does not hide anything. The file opens normally for everyone. The password only controls the settings, such as "do not allow printing". Whoever knows it can change those settings.
The permissions are stored in the file as a set of flags, and it is the viewer, such as a browser or a PDF reader, that decides to respect them. Think of a "please do not photograph" sign. A polite visitor follows it. It does not stop a camera.
What we tested
We made a one-page PDF containing a fake salary sheet and encrypted two copies with the same modern 256-bit setting.
Copy A: permissions only. No open password. An owner password set. Copying, printing and editing all switched off.
Copy B: a real open password. A password needed to open the file.
Then we tried to read both without knowing any password.
The results
| What we tried | Copy A (permissions only) | Copy B (open password) |
|---|---|---|
| Open the file and read it | Opened normally | Refused: incorrect password |
| Extract the text with a standard tool | Worked, the full text came out | Refused: incorrect password |
| Remove the restrictions with a standard tool, no password | Worked in one step, and the file was then unprotected | Refused: invalid password |
The restrictions on copy A were real as far as they went. The file's own details listed "extract for any purpose: not allowed", "print: not allowed" and "modify anything: not allowed". And yet the text came straight out, and a general-purpose command-line tool removed all of the restrictions in one step, without being given any password.
Copy B behaved the way you would hope. Without the right password, nothing opened, nothing was read and nothing could be removed.
What this means
Permissions are a courtesy, not a lock. They are useful for steering honest people: a form that should be printed but not edited, or a brochure you would like people not to cut and paste. They are not a security feature. Anyone willing to run a free tool can undo them.
A password to open the file is the only thing in this test that kept the contents private. If the file is confidential, that is the setting you need. The permissions are a bonus on top.
There is one detail in the test worth knowing. Even with copying switched off, one of the flags we saw said that extraction for accessibility was allowed. That is deliberate: it lets screen readers read the document aloud for blind users. It also shows how limited the permission system is. The words are meant to be readable by software.
How to protect a file properly
- Set a password to open the file. In the Protect PDF tool, enter the password you want people to type to open the document.
- Make it long. A short or common password can be guessed. A phrase of four or five unrelated words is easier to remember than a jumble of symbols and much harder to guess.
- Do not send the password with the file. If both travel in one email, anyone who reads the email has both. Share the password in a different way, such as a phone call or a separate message on another app.
- Add permissions only if you want them. Turning off printing can still be useful as a signal. Just do not rely on it.
- Remove what should not be there. A password protects the whole file. If one page or one number should never be seen by the recipient, delete the page with Remove pages or take the words out for good with Redact PDF before you protect it.
- Keep an unprotected copy somewhere safe. If you lose the password, nobody, including us, can open the file for you.
If you are on the other side
If you have a file with a password you know, the Unlock PDF tool takes it off, so you can work with the file freely. It needs the password. It is made for people who are allowed to open the file, and it is not for getting into somebody else's document.
What this test does not cover
We tested one file on one standard setup. We did not test whether a weak password can be guessed, which depends entirely on the password. Older PDF encryption, which many tools still produce, is weaker than the modern setting used here. And encryption protects a file only while it is locked. As soon as a person opens it and saves a copy, that copy is as safe as wherever they put it.
Frequently asked questions
If I turn off copying and printing, is my file protected?
No. Those settings are requests to the program that opens the file. In our test the text could still be read and the restrictions removed without any password.
Which password do I need to keep a file private?
The one that is needed to open it, often called the user or open password. Without it the content stays locked.
How should I share the password?
Never in the same message as the file. Send it by a different route, such as a phone call or a separate chat.
Try it
Open Protect PDF, set a password to open the file, and send that password separately.