Password-Protect a PDF: What Encryption Really Does

Password-Protect a PDF: What Encryption Really Does

A password-protected PDF can still be photographed with a phone — and often copied and printed, whatever its permission flags say. That is not a bug in the file; it is how PDF permissions were designed to work.

Two passwords, two jobs

A PDF can carry two separate passwords, and they do different things:

Password Asked when What it controls
User (open) Opening the document Whether the file decrypts at all
Owner (permissions) Changing the restrictions Printing, copying, editing, assembling

Many tools set both to the same string, and the PDF encrypt and decrypt tool does exactly that — one password to remember, no separate admin key. It also runs entirely in your browser, so the file never leaves your machine.

What the tool changes

Encrypt mode asks for the password twice and produces a _protected.pdf. Unlock mode asks for the existing password and produces an _unlocked.pdf. The permission flags are specific: high-resolution printing and copying are allowed, while modifying, annotating, filling forms, and page assembly are blocked; accessibility stays on.

That copying flag deserves attention. A recipient who can open the file can select text and paste it elsewhere. A phone photo of the screen ignores every flag in the table above. The password protects the file, not the information on the screen.

What it does not do

It does not crack anything. Unlock mode needs the real password; forget it and the page cannot recover the file. There is no logging, no revocation, no expiry. Once you remove the password and save, that copy is plain forever. And because the reader app enforces the permission flags, any viewer that ignores them — or a script that rewrites the PDF — gets around them.

For confidential material, this is not for security use. Use an encrypted archive with a strong passphrase, or a document platform with real access control. A shared PDF password is a signal of intent, not a safe.

One more practical note: the PDF compressor refuses protected files, so unlock a document before trying to shrink it.

Send the password through a different channel than the file — email the PDF, then text the password, or say it on a call. A lock that travels with its key protects nothing.