Every engagement I scramble to restrict payroll files at the last minute. Across the last [N=5] payroll reviews, show …
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.
| Password Type | Purpose | Control |
|---|---|---|
| Document Open Password | To view the PDF content. | Prevents unauthorized viewing of the file. |
| Permissions Password | To restrict actions like printing or editing. | Allows viewing but controls what can be done with the file. |
You should use AES-256 encryption because it provides a very high level of security for your PDF files. It is a strong method for scrambling data, making it extremely difficult for unauthorized people to access the information inside, even if they try to guess the password. This keeps your sensitive documents safer.
Yes, if you set a Permissions Password, you can choose specific actions that are still allowed. For example, you can enable 'fill-and-sign' permissions while restricting printing or editing. This means your recipient can fill out form fields and sign the document, but they cannot change the main content or print it without the owner's permission. Always check the granular permissions settings when applying the password.
The 'Protect PDF' operation in the Adobe API is a tool for developers to add security to PDFs programmatically. It allows you to apply passwords and set specific permissions, like AES-128/256 encryption, and control printing or filling forms. This means you can integrate PDF protection directly into your applications or workflows, automating the security process for many documents at once.