PDF passwords vs. permission restrictions: what the PDF standard says

By UnsealPDF ·

"This PDF is locked" can mean two different things. The PDF standard, ISO 32000, defines both, and knowing which one you have tells you what can be done.

Two passwords, two jobs

The current version of the standard, ISO 32000-2 (PDF 2.0), describes a security handler with two passwords (ISO 32000-2:2020; PDF Association: ISO 32000-2):

A file can use one or both. A common setup is a file with no open password but an owner password that blocks printing or copying. It opens normally, yet some menu items are greyed out.

How to tell which one you have

Why permissions are weaker than an open password

When a file has only permission restrictions, the content is encrypted, but every reader can decrypt it, because no password is needed to open it. The standard expects viewer software to honour the permission settings. Many viewers do. That is a rule followed by software, not a lock on the content, and it is why permission restrictions should never be your only protection for sensitive information.

An open password is different. With modern encryption (PDF 2.0 uses 256-bit AES), the content cannot be read without it. There is no shortcut.

What this means for you

UnsealPDF handles the first two cases, only for files you own or have permission to change. It does not handle certificate-based protection or rights-management (DRM) systems.

Sources

Check your PDF for free

More from the blog