Skip to main content
PDFON

Passwords and signatures

How to Password Protect a PDF (and What It Does Not Do)

By PDFON team · Last reviewed:

A password on a PDF keeps casual readers out. If a file with payslips, medical results, or contract drafts is forwarded to the wrong person or left on a shared computer, the password stops it from being opened without the right key.

Password protection is useful, but it is often misunderstood. This guide shows how to protect a file with the Protect PDF tool and explains plainly what the protection covers and what it does not.

Step by step

  1. Open Protect PDF and add one PDF with browse from device.
  2. Type a password in Document Open Password and repeat it in Confirm Password. The tool shows whether the two match.
  3. Optionally tick Set separate owner password to restrict document permissions, enter an owner password, and choose permissions such as Allow Printing or Allow Copying Text & Graphics.
  4. Select Protect PDF.
  5. Select Download Protected PDF, then open the downloaded file to confirm that it asks for the password.
  6. Store the password somewhere safe, such as a password manager, before you delete any unprotected copy.

What the open password does

The tool encrypts the contents of the file with AES using a 256-bit key, one of the encryption methods defined in the PDF standard. Without the password, the pages cannot be read, even by someone who copies the file to another device. PDF viewers that support standard encryption ask for the password before showing anything.

The strength of the protection depends heavily on the password. Encryption cannot stop someone from guessing a short or common password, and programs exist that try millions of guesses. A long passphrase of several unrelated words is far harder to guess than a short word with a number on the end.

What permissions do, and do not, do

Permissions such as no printing or no copying are instructions to the viewer, set with a separate owner password. Viewers that follow the PDF standard respect them, but software that ignores them can print or copy anyway. Treat permissions as a polite request, not as a lock.

If someone can open a document, they can read it, photograph the screen, or retype it. No PDF setting prevents that. For genuinely confidential material, limit who receives the file in the first place.

Choosing a password

A good document password is long, unique to the document or the recipient, and not based on information others can find, such as a birthday or a phone number. Four or five random words joined together are easy to type and hard to guess. Avoid reusing a password from an online account; if that account is ever breached, the same password could open your file.

Remember that the recipient has to type the password too, often on a phone. Very long strings of symbols cause typing mistakes and frustration. Plain words separated by hyphens strike a reasonable balance between strength and convenience.

When to protect a file

Protection is worth the small effort when a file contains personal identification numbers, health information, salary details, or anything you would not want read by a stranger who finds it. For files that will only ever sit on your own encrypted device, a password adds friction without much benefit.

Sharing a protected file

  • Send the password by a different route from the file, for example the file by email and the password by phone or text message.
  • Avoid writing the password in the same email as the attachment; anyone who sees the email then has both.
  • Agree on a password with the recipient in advance for recurring documents, and change it if it may have leaked.

Limitations and things to check

  • If you forget the password, the file cannot be opened. The tool does not store your password and cannot recover it.
  • Files that are already password protected are rejected; remove the existing password first if you know it.
  • Permission restrictions can be ignored by some software, as explained above.
  • The strength meter judges only length and variety of characters. It is not a security guarantee.
  • Protecting a file does not hide its file name, size, or the fact that it exists.

Frequently asked questions

Is my password sent anywhere?

No. The password is used in your browser to encrypt the file. Our code does not store it or send it to a server.

Can I use the same password for opening and for permissions?

Use different ones. If the owner password matches the open password, anyone who can open the file can also change its permissions.

Will the protected file open on phones?

Phone PDF viewers that support standard PDF encryption ask for the password and then show the file. Test it on the device your recipient is likely to use.

Written by the PDFON team. Check results before relying on them.