pdf_protect
Password-Protect PDF — Add a password to a PDF to prevent unauthorised opening or printing. [category: pdf]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Input PDF (max 25MB) | |
| password | No | One password used for both opening the file and unlocking its permissions. Leave it blank only if you set an open password or a permissions password below instead - one of the three is needed. | |
| encryption | No | How strongly the file is locked. | aes256 |
| outputName | No | Optional custom output filename. | |
| permissions | No | What a reader is still allowed to do after they enter the password. Use any of print, copy, edit, annotate, separated by commas - or the single word all. A word we do not recognise is ignored, and if none of them are recognised the reader can do nothing at all, so leave this blank rather than guessing. | |
| userPassword | No | Optional separate open (user) password. | |
| ownerPassword | No | Optional separate permissions (owner) password. |