pdf_encrypt
Add password protection to PDF files with user and owner passwords to control access and editing permissions using RC4 128-bit encryption.
Instructions
Encrypt a PDF with password protection (RC4 128-bit). Requires a user password to open. Owner password controls editing permissions.
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. |