How to Password Protect PDFs Created by Word Mail Merge
Question details
The user needs to know how to apply password protection and permission restrictions to individual PDF files generated via Word's mail merge feature before sending them as email attachments.

- Product
- Word / PDF
- Device & OS
- not provided
- Scenario
- Generating personalized PDF attachments via mail merge and ensuring each document is securely password-protected before being emailed to recipients.
- Observed behavior
- Standard Word mail merge does not automatically apply PDF security or passwords to the generated attachments, leaving sensitive documents unprotected when sent.
Before applying security settings, ensure your mail merge document is fully formatted and the recipient data source (such as an Excel spreadsheet) is complete and error-free.
Manually Configure PDF Security and Permissions
Apply an opening password and permission restrictions manually to the generated PDFs using your PDF editor before sending the emails.
If you are only generating a small batch of PDFs, the most reliable method is to secure them individually using your PDF editor's built-in security properties. This allows you to set distinct passwords for opening the file and for editing permissions.
Open the generated PDF in your PDF editor, navigate to the 'Protect' menu, or go to Document Properties and select the 'Security' tab.
Select the option to require a password to open the document and type a secure password that you will share with the recipient.
In the security settings, look for 'Permissions' or 'Restrict Editing and Printing'. Select 'None' from the changes allowed menu to make it read-only, and enter a distinct Change Permissions password.
Click OK to apply the security settings, click OK again to exit the properties window, and then save the PDF document. The security settings are not applied until the file is saved.

Automate Password Protection Using Third-Party Mail Merge Tools
Use specialized add-ins or scripts to apply unique passwords to each PDF automatically during the mail merge process.
Encrypt and Protect PDFs Easily with WPS Office
WPS Office offers a built-in Mail Merge feature in WPS Writer and robust PDF encryption in WPS PDF, allowing you to create documents and seamlessly apply password protection to keep your sensitive data secure without needing expensive third-party software.
- 1. Open the PDF File: Launch WPS Office and open the merged PDF document you wish to secure using WPS PDF.
- 2. Access the Protect Tab: Navigate to the 'Protect' tab on the top ribbon menu and click on the 'Encrypt' button.
- 3. Set Security Passwords: Check the box for 'Set Open Password' to restrict viewing, and check 'Set password of editing and extracting' to restrict modifications or printing. Enter your desired passwords.
- 4. Confirm and Save: Click 'Confirm' to close the encryption dialog, then save the document to permanently apply the password protection.

Frequently Asked Questions
Why aren't my PDFs password-protected directly from Word mail merge?
Standard Microsoft Word mail merge does not have a native feature to assign individual PDF passwords to email attachments. You must either apply passwords to the generated PDFs manually or use a specialized third-party add-in to automate the encryption process.
What is the difference between an Open Password and a Permissions Password?
An Open Password requires the user to enter a password just to view the document. A Permissions Password (or Master Password) allows anyone to open the document, but requires a password to perform restricted actions such as printing, copying text, or editing the content.
Can I use different passwords for different recipients in a mail merge?
Yes, but this requires dedicated mail merge software or a custom script. These tools pull unique passwords from a designated column in your data source (like an Excel spreadsheet) and automatically apply them to the corresponding recipient's PDF attachment during the merge process.




