How to protect a PDF with a password and check that it worked

Note: This guide is general information, not professional or legal advice. Check the requirements of the institution, platform or service that will receive the file.

📅 25 April 2026 | ⏱️ 4 min read | 👤 Matheus Rodrigues

Bank statements, payslips, contracts and certificates can contain personal information. A PDF opening password can add a layer of access control when it is set with suitable encryption and a strong, unique secret. It does not make a file impossible to access in every circumstance. This guide compares common ways to set one and explains how to check the exported copy.

Two PDF passwords serve different purposes

An opening password (sometimes called a user password) is required to open a protected file. A permissions password (sometimes called an owner password) is used to configure restrictions such as printing or copying. A permissions restriction is not a substitute for an opening password and should not be treated as a confidentiality guarantee; behavior can vary between PDF readers. The encryption option and password strength also matter.

Online tools: convenient, but review the privacy terms

Some online services let you upload a PDF, set a password and download a protected copy. Examples that advertise this feature include iLovePDF, Smallpdf and Sejda. Before uploading, read the service’s current file-handling and deletion information. Avoid sending highly sensitive documents to a service unless its handling meets your needs. An offline option avoids sending the document to that provider.

Offline options on your own device

LibreOffice can export a document to PDF with security options; its help describes the password settings under PDF export security. Adobe Acrobat documents password protection as well, but available features depend on the product edition. On macOS, Preview may offer an export option with a password. Menu names and availability can vary by application version. Work from a copy and check the resulting PDF.

Set and verify the opening password

  • Keep an editable original and work on a copy.
  • In the PDF export or protection settings, choose an opening password rather than only a permissions password.
  • Save the protected copy under a different name.
  • Close and reopen it. Confirm that it asks for the password, then enter it and check the pages.
  • After editing or compressing, repeat the check; a new export may change or remove protection. Also review page count, readability and any existing digital signatures.

Choose and store a strong password

Use a long, unique password that is difficult to guess, and never reuse a password from another account. A password manager can store it; recovery may not be possible if it is lost. Preserve the original in a secure place. When you need to reduce file size, do so before applying the password when practical, then verify the final export because editing or recreating a PDF can change its protection.

Limits and safer sharing

PDF password protection is useful for everyday sharing, but it is not invulnerable. Short or predictable passwords are easier to guess. For sensitive material, consider a properly encrypted archive and send its password through a separate channel. Keep the file and password apart, and use an appropriate delivery method. Permissions restrictions can depend on the reader, so use an opening password when the goal is to prevent the recipient from opening the file without a secret.

Tools and guides to continue

Create a unique password and review other ways to protect documents before sharing them. Protect personal documents (Portuguese).

Frequently asked questions

I forgot the opening password for my own PDF. Can I recover it?

A strong opening password is designed to prevent access without the secret, and recovery may not be possible. Check a password manager or secure backup before relying on a recovery service.

Can I submit a password-protected PDF to a public system?

Some portals reject protected PDFs because they need to inspect or index the contents. Check the receiving system’s instructions before protecting the file.

Is a permissions password enough to keep a PDF confidential?

No. Restrictions on printing or copying are not the same as requiring a password to open the file, and support can vary across readers.

References