How to Password Protect a PDF, and When Not To

Valerii Checha
Valerii Checha

22 November 2026

To password protect a PDF, open it in Adobe Acrobat Pro, Preview on a Mac, LibreOffice, Word on Windows or the free qpdf, set a password required to open the document, choose AES-256 encryption where the tool offers it, and save a copy. Send the password by a different channel from the file. A permissions password alone does not keep anyone out.

Two passwords, two different jobs

The PDF standard defines two passwords, and most of the confusion about protecting a PDF comes from mixing them up.

  • The open password, called the user password in the specification and "Document Open Password" in Acrobat. The file is encrypted with it, and no viewer can show the content until someone types it. This is the one that keeps strangers out.
  • The permissions password, called the owner password. Anyone can open the file without it. It records which actions are restricted (printing, copying text, editing, filling forms) and asks viewers to block them unless the owner password is entered.

The open password is enforced by encryption. The permissions password is a flag that viewers can choose to respect: Acrobat, Preview and most viewers honour the restrictions, but free tools such as qpdf open a file that has only a permissions password and write out a copy with no restrictions at all, because the content is readable without any secret. If you need to stop the wrong person seeing a document, you need an open password. A permissions password on its own only stops a cooperative reader from editing by accident.

You can set both. A common setup is an open password for the client and a different permissions password that only you know, so the client can open and print the contract but not change it in Acrobat.

Pick your tool and goal

Choose what you want to stop, the tool you have and how the password will get to the recipient. The steps change with your choices, and so does the list of what the protection still leaves open.

Lock this PDF

Pick what you want to stop, the tool you have and how the password will travel. The steps and the limits follow.

What do you want to stop?
Which tool do you have?
How will the password reach them?

Set an open password

1. Open the PDF in Acrobat Pro and open the Protect tool. The free Acrobat Reader cannot add a password.

2. Choose to protect the file with a password. Menu names have moved between versions; the dialog is called Password Security.

3. Tick the option that requires a password to open the document, and type it.

4. Set Compatibility to Acrobat X and later, which uses 256-bit AES.

5. Click OK, confirm the passwords, then save. Acrobat applies the protection when the file is saved.

Encryption

256-bit AES with the Acrobat X and later setting. The Acrobat 7.0 and later setting uses 128-bit AES, which is only worth choosing for very old readers.

Sending the password

Reasonable

A second channel means someone needs both the email and the phone. Send the password after the file arrives, and never reply with it on the same email thread.

What this does not do

An open password is only as strong as the password. Short or guessable ones fall to free cracking tools; use at least 12 random characters or four unrelated words.

Once the reader has opened it, they can print it, save an unprotected copy or take screenshots. The password protects the file in transit and at rest, not after it is opened.

You cannot take a sent PDF back, change it, or see whether it was opened. A password changes none of that.

Adobe Acrobat Pro

Acrobat Pro is the most complete option and the one to use when you need to state which encryption a file uses. The free Acrobat Reader cannot add a password.

  1. Open the PDF and go to the protect tool. In the current Acrobat it is under All tools, then Protect a PDF. Older versions put it under Tools, Protect, Encrypt with Password.
  2. Choose to protect with a password. Tick the option to require a password to open the document and type it.
  3. If you also want to restrict printing or editing, tick the restriction option, set a second, different password and choose what to allow.
  4. Set Compatibility to Acrobat X and later. Adobe documents this setting as 256-bit AES. Acrobat 7.0 and later gives 128-bit AES, which only matters if a recipient still uses a very old reader.
  5. Click OK, confirm the passwords and save. The protection is applied when the file is saved.

Preview on a Mac

Preview needs nothing extra. Apple's Preview guide gives these steps:

  1. Open the PDF and choose File, then Export. Give the copy a new name if you want to keep an unprotected original.
  2. Click Permissions.
  3. Select Require Password To Open Document and type the password twice.
  4. Untick any action you want to restrict. A ticked action stays allowed without the owner password.
  5. Enter an Owner Password twice, ideally different from the open password, then click Apply and Save.

To change it later, use File, then Edit Permissions. Apple does not say which cipher Preview uses and offers no choice, so if a client's security team asks you to confirm AES-256, use Acrobat Pro or qpdf instead.

LibreOffice, on any system

LibreOffice is free on Windows, Mac and Linux. Open the document (Writer for a document you wrote, Draw for an existing PDF), choose File, then Export as PDF, open the Security tab and click Set Passwords. You can set an open password, a permission password, or both, and then choose what to allow for printing, changes and copying.

Check your version. Older versions of LibreOffice encrypt exported PDFs with 128-bit RC4, a cipher with known weaknesses, and long-standing bug reports asked for AES. LibreOffice 25.8, released in August 2025, added PDF 2.0 export, and a PDF 2.0 file is encrypted with AES-256. If your version has a PDF version option on the General tab, pick PDF 2.0 before you set the password. If it does not, add the password afterwards with qpdf.

Word on Windows

If the document starts in Word, you can encrypt it as you save it. Choose File, then Save As, pick PDF as the type, click Options, tick Encrypt the document with a password and save. Word asks for the password twice.

Word only sets an open password. It has no option to restrict printing or copying, so for a permissions password, save the PDF from Word and add it with one of the other tools.

qpdf on the command line

qpdf is free, open source and available through Homebrew, apt and winget. It is the quickest way to protect many files the same way, and the command states its own encryption:

# Open password and owner password, AES-256
qpdf --encrypt 'open-password' 'owner-password' 256 -- proposal.pdf proposal-locked.pdf

# Anyone can open it; printing, changes and copying need the owner password
qpdf --encrypt '' 'owner-password' 256 --print=none --modify=none --extract=n -- report.pdf report-locked.pdf

The empty first password in the second command is what makes it a permissions-only file. The same tool will also show you how weak that is: qpdf does not enforce restrictions itself, so qpdf --decrypt turns a permissions-only file back into an unrestricted one with no password at all.

How strong is PDF encryption?

The cipher is not the weak point. AES-256 is what the current PDF standard uses, and nobody opens such a file by attacking the encryption. Older schemes are different: 40-bit RC4 from the earliest PDF versions is broken, and 128-bit RC4 is not something you would choose today.

The password is the weak point. Password-recovery tools such as hashcat and John the Ripper have PDF modes, and they work by guessing. A six-letter word falls quickly; 12 random characters, or four unrelated words, are out of reach. Use a password manager to make one, and never reuse a password you use anywhere else.

Sending the password

A password in the same email as the file protects nothing. Anyone who gets that email, including a forward, a shared inbox or a misdirected copy, gets both halves. Send the password some other way: a text message after the file arrives, a message in the chat app you already use with the client, or a phone call.

For a client you send files to every month, agree a scheme once on a call, so neither of you waits for a password each time. Do not use the client's name, the project name or the date. Those are the first guesses anyone makes.

What a password does not do

  • It does not control what happens after the file is opened. The person with the password can print it, save an unprotected copy or take screenshots. A password protects the file while it travels and while it sits in an inbox, not after it has been opened.
  • It does not let you take the file back. Once sent, it stays sent. You cannot change the price in it, switch it off, or set it to expire.
  • It tells you nothing. You will not know whether it was opened, by whom or when. Encryption hides the content; it does not report on it. Sending a proposal as a PDF or a link covers why a file on someone's device is silent.
  • It can get in the way. Some company mail gateways cannot scan encrypted attachments and hold or strip them, so a protected file can arrive late or not at all. If a file vanishes, ask whether it is sitting in quarantine.

When not to password protect a PDF

A password suits a file that has to exist as a file and has to stay closed to everyone else on the way: payroll, a signed contract going to the client's lawyer, medical or financial records, anything with personal data that you must send as an attachment.

It suits a proposal or a report less well. The recipient has to find the password before they can see anything, often on a phone in a meeting, and what they open is still a static copy you cannot change or withdraw. For those, a link with access controls does more of what people want from a password. How to share a document with a client safely goes through PINs, expiry and named access in detail.

How this works in Quixli

Quixli documents are sent as links, not files, and a public link takes a four-digit PIN rather than a password. After five wrong PINs in a row, that link stops accepting PINs from the same connection for 15 minutes. A link can also have a view limit and expire after 1, 7 or 30 days, and deleting it stops it at once, which a sent PDF cannot do.

Two limits are worth knowing. A four-digit PIN with that lockout stops someone who stumbles on the link; it is not built to hold off a determined attacker, so for documents that must reach only named people, share by email instead. And every reader of a public link can export the document as a PDF, which has no password on it; see what a reader can download. If the exported copy needs a password, the steps above apply to it like any other PDF.

If a client's IT team asks how either option holds up, the security questions IT teams ask about a link has the answers worth giving.

Questions

How do I password protect a PDF for free?
On a Mac, open it in Preview, choose File, then Export, click Permissions and set a password to open it. On Windows or Linux, export from LibreOffice with a password on the Security tab, or run qpdf on the command line. Free Acrobat Reader cannot add a password; Acrobat Pro can.
What is the difference between an open password and a permissions password?
An open password (the user password) encrypts the file, and nobody can see the content without it. A permissions password (the owner password) lets anyone open the file but asks viewers to block printing, copying or editing. The first is real protection. The second only works in software that chooses to respect it.
Is a password protected PDF secure?
With AES-256 encryption and a long random open password, the content is safe from anyone who does not have the password. The weak points are elsewhere: short passwords that cracking tools guess, passwords sent in the same email as the file, and the fact that anyone who can open it can print or save an unprotected copy.
How do I remove a password from a PDF?
If you know the password, open the file and save a copy without protection: in Acrobat Pro remove the security setting, in Preview export without the password, or print it to a new PDF if printing is allowed. Without the password, an AES-encrypted file with a strong password cannot be opened, which is the point.
How should I send the password for a PDF?
By a different channel from the file: a text message, a chat app or a phone call. A password in the same email protects nothing, because anyone who has the email has both. For files you send to the same person regularly, agree a scheme on a call once instead of sending a password every time.

Read next