pdf_encrypt
Encrypt a PDF with AES-256 password protection. Set a user password to restrict opening and an optional owner password to control editing permissions.
Instructions
Encrypt a PDF with AES-256 password protection. Requires a user password to open. Owner password controls editing permissions (defaults to the user password).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to the source PDF file | |
| outputPath | Yes | Absolute path for the encrypted output PDF | |
| userPassword | Yes | Password required to open the PDF | |
| ownerPassword | No | Password for editing permissions. Defaults to userPassword if omitted. |