Password-protect a PDF
pdf_protectEncrypt a PDF copy with AES-256 to require a password for opening, using only the password the user provided for this purpose.
Instructions
Encrypt a copy with AES-256 so it needs a password to open. Only use a password the user gave you for this purpose.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Path to a PDF inside an allowed folder (absolute, or relative to the first allowed folder). | |
| output | Yes | Path for the new PDF, inside an allowed folder. Must not exist yet; superPDF never overwrites files. | |
| password | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | ||
| pages | Yes | ||
| output | Yes |