DocSample

Security6 min read

How to Password-Protect a PDF Before You Send Something Sensitive

Payslips, ID scans and tax files deserve more than hope. Learn what PDF passwords do, what they do not do, and safer sending habits.

By DocSample · 13 October 2026 · Updated 8 November 2026 · 6 min read

Guide cover: password-protect a sensitive PDF before sending with DocSample
On this page

A payslip, a passport scan, a tax return or a medical report sitting unprotected in someone's inbox is a small risk that never goes away. Email accounts get compromised, attachments get forwarded to the wrong person, laptops are left unlocked. A password on the PDF itself means the file stays closed even when it ends up somewhere it should not.

This guide explains the two kinds of PDF password, how to add one with software you probably already have, and what DocSample can and cannot do in this part of the process.

Two different passwords, two different jobs

PDF security has two separate settings, and mixing them up is the most common mistake:

  • Open password (sometimes called "document open" or "user" password). A properly encrypted file requires the password to open; the protection still depends on the encryption and password strength. This is the one that protects confidential content.
  • Permissions password (the "owner" password). The file opens for anyone, but printing, copying text or editing can be restricted. This does not protect confidentiality, and many PDF tools ignore these restrictions entirely.

If the goal is "only the right person can read this", you need an open password. Permissions on their own are a polite request, not a lock.

How to add an open password

DocSample does not currently include a PDF encryption tool, and we would rather say so than send you to a page that does not do the job. Depending on your device and licences, these desktop applications offer relevant options:

Microsoft Word (Windows): open the source document, choose File > Save a Copy or Save As, select PDF as the type, then More Options > Options, and tick Encrypt the document with a password. Enter the password twice and save.

LibreOffice (free, Windows/Mac/Linux): open the document, choose File > Export as PDF, go to the Security tab, click Set Passwords and enter an open password. LibreOffice Draw can open many existing PDFs and export them again, but complex layouts can change; inspect every page.

Preview (Mac): open the PDF, choose File > Export (or Export as PDF), and set a password using the Encrypt or Permissions option, depending on your macOS version.

Adobe Acrobat (paid): use the Protect tool and choose to encrypt with a password, selecting "require a password to open the document".

Whichever you use, choose modern encryption (AES, ideally 256-bit) if the app offers a choice. Older PDF encryption settings are weak.

Prepare the file before you lock it

DocSample does not provide a password-entry workflow for these editing and conversion tasks. Unlock an authorised working copy in a suitable application first. Do all the preparation first, in this order:

  1. Remove pages the recipient does not need. Use Organize PDF to delete extra pages so you share less in the first place.
  2. Check hidden details. The PDF Metadata tool shows the title, author and other properties stored in the file and lets you edit or clear them. A file titled "Draft – do not send" or carrying a previous employer's name is embarrassing.
  3. Add a visible label if useful. A light "CONFIDENTIAL – for Visa Application Only" mark from Watermark PDF discourages casual forwarding. It is a deterrent, not protection.
  4. Check signature requirements. Editing or re-exporting a digitally signed PDF can invalidate its cryptographic signature. Agree the signing and encryption workflow with the recipient instead of modifying a signed original.

Choosing and sharing the password

A strong file password is useless if it travels with the file. Practical rules:

  • Never put the password in the same email as the attachment. Send it by SMS, a phone call, or a messaging app the recipient already uses.
  • Use a passphrase, such as four unrelated words, at least 12 characters long. Short passwords on PDFs can be guessed by cracking software very quickly.
  • Avoid predictable patterns like your date of birth. Some banks use date-of-birth passwords on statements; that is convenient but weak.
  • Agree a secure process for repeat sending. Avoid predictable password patterns or reusing a password across unrelated recipients. Replace it if exposure is suspected and follow your organisation's policy.

What a password does not protect against

Being clear about limits helps you decide when a password is enough:

  • Once the recipient opens the file, they can save, screenshot or print it. Encryption protects the unopened encrypted copy, not information captured or exported after an authorised person opens it.
  • Permissions-only restrictions can be removed by many free programs.
  • A password does not hide the file name or the email subject. "Ram Sharma tax return 2026.pdf" already reveals something.
  • If you forget the password, there is usually no recovery. Keep an unprotected original stored securely on your own device.

Troubleshooting

DocSample says something went wrong with my PDF. The file is probably already password-protected. Open it with the password in your viewer and save or print an unlocked copy you have permission to use, then try again.

The recipient says the password does not work. Check for automatic capitalisation on phones and for confusing characters such as O/0 or l/1. Passphrases of plain lowercase words avoid most of this.

The file opens without a password on their side. You likely set only a permissions password. Re-export with an open password.

Their system rejects encrypted attachments. Some company mail filters cannot scan encrypted files and block them. Use their upload portal or a restricted share link instead. If the file is also too large, our guide on compressing a PDF for email can help — compress before you encrypt.

A quick decision guide

  • Payslips, bank statements, ID documents, medical letters: open password, sent separately by phone or SMS.
  • Draft contracts going to a known lawyer: a secure portal or restricted share link is often better than email.
  • Public brochures or price lists: no password, but consider a watermark.
  • Signed agreements: keep a locked archive copy plus an unlocked master you store safely. Our guide on a simple PDF workflow for small business has a folder routine for this.

PDF password questions

Can DocSample password-protect a PDF?

Not currently. DocSample's tools help prepare the file (removing pages, clearing metadata, watermarking), and then you add the open password in Word, LibreOffice, Preview or Acrobat as described above.

Is a permissions password enough for confidential files?

No. It only restricts printing or copying and many apps ignore it. For confidentiality, use an open password that is required to view the document.

How long should a PDF password be?

At least 12 characters; a passphrase of four random words is easy to type and much harder to crack than a short complex password.

Can I merge or edit a password-protected PDF on DocSample?

Not while it is locked. Open it with the password, save an unlocked copy you are authorised to use, make your changes, then protect the final version again.

What happens if I forget the password?

There is usually no reliable way back in. Always keep an unprotected original stored securely on your own device.
ShareXWhatsAppLinkedIn

Tags: pdf security, passwords

Back to blog