protect_pdf
Add password protection to a PDF to secure its contents. Anyone opening the output must enter the password.
Instructions
Add password protection to a PDF. Anyone opening the output will need the supplied password.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | Yes | Password to set on the PDF. Handled as a secret and sent only to iLoveAPI. | |
| input_file | Yes | Path to the PDF file to protect. | |
| output_path | No | Optional output path. If it ends with the expected extension, the file is written there. If it is a directory, the file is placed inside with a timestamped name. Defaults to the same directory as the first input. |