I have a [file=48MB presentation] that must be emailed to the [recipient=client] as a single attachment. Compress it t…
Open the PDF file you want to encrypt in Adobe Acrobat Pro.
Go to the File menu and select Properties.
In the Document Properties window, click the Security tab.
In the Security Method dropdown, select Password Security.
Check the option to require a password to open the document.
Enter your desired password in the password field and confirm it when prompted.
CautionIf you forget this password, you will not be able to open the PDF.
Click OK to apply the settings.
When prompted, re-enter the password to confirm.
Save the PDF to finalize password protection.
Best practiceFor best security, choose a strong password and select 'Encrypt all document contents' if prompted.
You must save the PDF after setting the password for encryption to take effect.
This runs in the Acrobat app - there is no separate API for this task.
| Type | What it does |
|---|---|
| Document Open Password | Stops people from opening the PDF without the password. |
| Permissions Password | Lets people open the PDF, but stops them from printing, copying, or editing unless they know this password. |
If you forget the password you set on your PDF, you cannot open or change the file anymore. There is no way to recover the password from the PDF. Keeping an unprotected backup means you can always get your information back if you lose the password.
| Encryption Type | Security Level | When to Use |
|---|---|---|
| AES-128 | Good security for most uses | Everyday documents |
| AES-256 | Stronger security | Very sensitive or private files |