How to Protect a PDF With a Password
PDF security
PDF Fix Hub does not currently add password protection
The website has Unlock PDF for supported files you are authorized to unlock, but it has no Protect PDF or encryption-export tool. Adding a watermark, flattening forms or placing a white rectangle over text does not encrypt a file.
For a password-protected PDF, use an application with an explicit encryption feature. The example below uses LibreOffice's documented PDF export security controls with an editable source document. It does not claim that importing and re-exporting an arbitrary PDF will preserve its layout.
Choose the kind of protection you need
An opening password is required before a reader can open the encrypted PDF. Permission restrictions ask compliant readers to limit activities such as editing, copying or printing. Permission restrictions are not equivalent to keeping the contents secret from someone who can already open the file; software can differ in how it enforces them.
If you need to remove confidential text, redact it before encrypting. Encryption does not decide whether the recipient should see a hidden comment, attachment or old personal detail. Also retain any original signed copy: rewriting or encrypting a signed PDF can affect its signature.
Example: export a protected document from LibreOffice
Begin with an editable document whose layout you can inspect, containing only harmless practice text.
- Open the source in the appropriate LibreOffice application. Confirm fonts, page breaks and images before exporting.
- Choose File → Export As → Export as PDF. Open the Security section of the PDF options.
- Choose Set passwords. Set the password required to open the PDF. If you also configure a permissions password, understand that it controls reader restrictions rather than replacing an opening password.
- Export to a new filename. Keep the editable original and any unencrypted master in a location you control.
- Close the result and reopen it in a separate PDF reader. It should ask for the opening password before showing pages. Test both an incorrect password and the correct password on your practice copy.
- Check the output's page count and appearance. Send the password through a separate channel appropriate to the sensitivity of the document.
These are documented application steps, not a claim that PDF Fix Hub performs this export. Menu labels can vary by LibreOffice version. Its official PDF Security help describes the password controls.
Common mistakes
A file named “protected.pdf” is not necessarily encrypted. Test reopening it. Do not email the password in the same message as a sensitive attachment if your goal is to reduce the consequence of that message being exposed.
Do not use a short, reused password for an important document. Prefer a long, unique password or passphrase and store it in a password manager. A forgotten opening password can make legitimate access difficult; neither this guide nor Unlock PDF offers password recovery.
If the export does not behave as expected
If the security controls are unavailable, inspect other export settings and the application's documentation. Some archival/export profiles have constraints incompatible with encryption. Do not randomly disable a required archival profile without checking the recipient's requirements.
If page layout changed, return to the editable source and fix it there. Repeatedly importing and exporting PDFs can introduce different fonts or line breaks. For sensitive material, use software and a device approved by your organization.
Frequently asked questions
Can I use PDF Fix Hub to add the password later? Not currently. Finish other PDF Fix Hub operations before using a separate encryption-capable application.
Does Flatten PDF prevent editing? No. Flatten PDF changes appearances and interactivity; it is not access control.
Can an opening password replace secure sharing? It is one measure, not a complete sharing policy. Consider recipient identity, device security and where the unencrypted original is stored.