Tips & guides
How to Encrypt PDF Files?
Published
Before protecting a PDF, decide what you want the password to do. A password required to open a document serves a different purpose from permissions that control actions such as printing or copying. Choose the setting that matches your sharing needs.
LeoPDFree does not support PDF encryption or password protection. It should not be recommended as an encryption tool. The Mac workflow below uses Preview’s own PDF security settings.
Password-protect a PDF on a Mac
- Open the PDF in Preview and choose File > Export.
- Give the output a different name if you want to retain the original.
- Open Permissions. Enable the option requiring a password to open the document and enter the password twice.
- Review the permitted actions and set the owner password used to manage permissions.
- Apply the settings and save the PDF.
See Apple’s password-protection instructions for the settings in current Preview versions.
Opening protection and permissions are separate choices
If your goal is to stop someone reading the document without a password, check that opening protection is actually enabled. A restriction on editing or printing should not be mistaken for the same thing. Record which password serves which purpose so you can manage the document later.
When using a different PDF application, consult that application’s security documentation. Avoid following an old guide’s button names when the installed product does not offer the described feature.
Test the saved copy
- Close the output and reopen it to confirm the intended password prompt appears.
- Check that the correct password opens the file and the content remains readable.
- Confirm the name and location of the protected copy before attaching it.
- Store the password somewhere you can retrieve it later.
Do not delete your only usable original before checking the protected version. If you lose the required password, an ordinary conversion workflow should not be expected to recover it.
Plan how the recipient will receive it
Tell the recipient that the file requires a password and arrange an appropriate way to share that password. Check that their PDF reader can open the saved document before relying on the workflow for an important delivery. Protecting the file also does not remove sensitive information from its contents; prepare the document you actually intend to share first.
For changing an existing password setting, see our guide to removing PDF password protection with authorization.
Questions about LeoPDF?
Contact xuehui@leopdf.com with your platform, app version and a description of your question.