PDF Security & Access Issues

How to Password Protect PDFs Created by Word Mail Merge

Tauseeq MagsiTauseeq Magsi Nov 3, 2026 868 views

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.

How to Password-Protect PDFs Created by Word Mail Merge
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 you start

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.

Solution 1Recommended

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.

1
Open Document Security Settings

Open the generated PDF in your PDF editor, navigate to the 'Protect' menu, or go to Document Properties and select the 'Security' tab.

2
Set an Open Password

Select the option to require a password to open the document and type a secure password that you will share with the recipient.

3
Configure Permission Restrictions

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.

4
Save the Document

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.

Manually Configure PDF Security and Permissions
Two Types of Passwords: Always remember that the 'Open Document' password must be different from the 'Change Permissions' password to ensure proper security.
Secure Your Merged Documents with WPS Office

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. 1. Open the PDF File: Launch WPS Office and open the merged PDF document you wish to secure using WPS PDF.
  2. 2. Access the Protect Tab: Navigate to the 'Protect' tab on the top ribbon menu and click on the 'Encrypt' button.
  3. 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. 4. Confirm and Save: Click 'Confirm' to close the encryption dialog, then save the document to permanently apply the password protection.
Built-in PDF encryption and advanced permission settingsFully compatible with Microsoft Word (.docx) and Excel (.xlsx) formatsLightweight, fast, and features an intuitive user interfaceFree comprehensive suite for Word processing, Spreadsheets, and PDFs
microsoft office alternative - wps office

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.