How to Fix Photoshop Actions Not Applying PDF Security Settings
Question details
The user needs to automatically apply passwords and print restrictions to multiple PDF files exported via Photoshop Actions, but the settings recorded in the initial run are ignored on subsequent files.

- Product
- Adobe Photoshop
- Device & OS
- not provided
- Scenario
- Automating the export of PSD files to secure PDFs using Photoshop Actions.
- Observed behavior
- The password and print-restriction settings configured in the PDF options dialog during the Action recording are not applied when the Action processes additional files.
Verify that your Photoshop Action successfully saves your files as standard, unprotected PDFs before attempting to secure them.
Apply PDF Security Post-Export Using a PDF Editor
Since Photoshop Actions do not reliably replay PDF security dialog settings, the best method is to export the files as normal PDFs and secure them afterward in a dedicated PDF tool.
Photoshop's Action recorder often fails to capture the intricate sub-menu settings within the PDF export options, especially those related to encryption and file permissions. The most reliable workaround is splitting the workflow: use Photoshop solely for image-to-PDF conversion, and use a dedicated PDF application to handle the security protocols.
Run your existing Photoshop Action to convert all necessary PSD files into standard, unprotected PDF documents in your target folder.
Launch your preferred PDF editing application, such as WPS PDF or Adobe Acrobat.
Use the PDF editor's built-in batch process or protection features to apply the desired passwords and print restrictions to the newly exported PDFs.

Use a Custom Photoshop Script (.jsx)
Write or use a custom JavaScript file to explicitly define PDF security parameters within Photoshop to bypass Action limitations.
Apply Passwords and Print Restrictions with WPS PDF
While Photoshop struggles to automate PDF security, WPS PDF makes it incredibly easy to protect your exported documents. You can quickly add open passwords and restrict printing, copying, or editing to keep your work completely secure.
- 1. Open your exported PDF: Launch WPS Office and open the unprotected PDF file you exported from Photoshop.
- 2. Access the Protect tab: Navigate to the 'Protect' tab located on the top ribbon menu and click on the 'Encrypt' button.
- 3. Set passwords and restrictions: Check 'Set Open Password' to require a password for viewing, or check 'Set restriction on editing and extracting' to disable printing and copying.
- 4. Confirm and Save: Click 'Confirm' to apply your new security settings, then save your protected PDF document.

Frequently Asked Questions
Why does Photoshop ignore PDF security settings when using Actions?
Photoshop Actions record high-level menu commands but often fail to capture sub-dialog choices in complex export formats like PDF. The encryption parameters simply aren't saved into the Action's instruction set.
Is it possible to restrict only printing without requiring a password to open the PDF?
Yes, standard PDF security allows you to set a Permissions Password (also known as an Owner Password) to block printing and editing, without setting a Document Open Password for standard viewing.
What is the best way to secure multiple PDFs at once?
The most efficient method is using the batch processing features found in dedicated PDF editors. This allows you to apply a consistent security profile, including passwords and restrictions, across an entire folder of PDFs simultaneously.
Can I automate this entirely within Adobe Acrobat?
Yes, if you have Acrobat Pro, you can use the Action Wizard to create a custom Action that automatically applies security policies to a selected batch of files exported from Photoshop.




