PDF Security & Access Issues

How to Encrypt Batch PDFs with Unique Passwords

Camila MilosovichCamila Milosovich Oct 28, 2026 869 views

Question details

The user needs a method to secure a batch of PDF documents by applying a different, unique password to each individual file before sending them to distinct recipients.

How to Encrypt Batch PDFs with Unique Passwords
Product
Adobe Acrobat
Device & OS
not provided
Scenario
Distributing personalized, secure PDF documents (such as invoices or reports) to multiple recipients where each person requires a unique password to open their specific file.
Observed behavior
Acrobat's standard user interface and Action Wizard only support applying the same password across a batch, lacking native functionality for unique, per-file passwords.
Before you start

Ensure you have all the target PDF files organized in a single folder and prepare a secure database or spreadsheet containing the file names and their corresponding unique passwords.

Solution 1Recommended

Develop a Custom Acrobat Plug-in Using Acrobat SDK

Use the Adobe Acrobat SDK to create a C or C++ plug-in that programmatically assigns unique passwords to each PDF in your batch.

Because the standard Action Wizard in Adobe Acrobat limits you to applying a single, identical password to an entire batch of files, achieving unique password assignments requires custom automation.

By utilizing the Acrobat SDK, developers can build a standalone application or a custom C/C++ plug-in. This custom solution can iterate through the files, fetch individual passwords from an array or database, and securely apply them to the respective PDFs.

1
Download Acrobat SDK

Download and install the latest Adobe Acrobat SDK from the official Adobe Developer portal.

2
Set Up Your Development Environment

Create a new project for a custom C or C++ application or plug-in within your preferred IDE.

3
Write the Automation Script

Write the logic to pull passwords from an external source (like a database or CSV file) and map them to your PDF filenames.

4
Apply Security Settings

Use the SDK's security APIs to programmatically open each PDF, apply the designated unique password, and save the encrypted file to your output directory.

Develop a Custom Acrobat Plug-in Using Acrobat SDK
Developer Knowledge Required: This method requires familiarity with C or C++ programming and understanding of the Adobe Acrobat API.
Protect PDFs Easily

Secure Your Documents Effortlessly with WPS Office

While batch encrypting with unique passwords requires advanced custom scripting, WPS Office offers a highly intuitive, user-friendly interface for securing individual or batch PDFs with strong passwords, advanced permissions, and watermarks without needing to write any code.

  1. 1. Open Your Document: Launch WPS Office and open the PDF file you wish to secure.
  2. 2. Access Protection Tools: Navigate to the 'Protect' tab located on the top ribbon.
  3. 3. Open Encryption Settings: Click on the 'Encrypt' button to reveal the document security and password settings.
  4. 4. Set Passwords: Check 'Set Open Password', type your desired password, configure any necessary editing permissions, and click 'Confirm' to save the protected PDF.
Intuitive PDF encryption interface for setting open and permission passwords.Highly compatible with standard PDF formats and Adobe Acrobat features.Lightweight alternative offering comprehensive document security tools.Free and seamless processing for your daily PDF viewing and editing needs.
microsoft office alternative - wps office

Frequently Asked Questions

Can I use Acrobat's Action Wizard to set unique passwords for a batch of PDFs?

No. While the Action Wizard in Adobe Acrobat allows you to batch process PDFs and apply security settings, it only supports applying the exact same password to all the files in that specific batch.

Are there non-programming ways to batch encrypt PDFs with different passwords?

Yes. If you cannot write a custom plug-in, you can use specialized third-party standalone tools. These tools usually allow you to upload a CSV or Excel file containing the filenames and their unique passwords, automating the mapping process without requiring you to write code.

Can I protect PDFs using JavaScript in Acrobat?

Acrobat JavaScript has strict security restrictions when it comes to applying document-level security and saving files automatically. For robust batch encryption with unique passwords, a C/C++ plug-in via the Acrobat SDK or a dedicated external standalone application is the recommended approach.