Skip to main content

Task PDF - Encrypt​

The PDF - Encrypt Task encrypts PDF files with a password or a Certificate.

The Main settings, Flow, On error, Conditions and TimeOut tabs are the same for every Task; see Job - Tasks.

Encrypt: Main settings tab​

Main settings tab of the Encrypt Task, with the Certificate and Password options, the Permissions list, the Encrypt algorithm list and the Encrypt metadata check box

  • Certificate (Encrypt by ... group): encrypts the files for the Certificate selected in the Certificate list; this is the default

    See Global - Certificates.

  • Password: encrypts the files with the Owner password and the User password

    Both passwords are required. Variables are supported.

  • Permissions: the actions that are allowed on the encrypted document: "Annotations", "Assemble", "Extract", "ExtractAcc", "FillInForms", "HighQualityPrint", "LowQualityPrint" and "Modify"

    All are checked by default. The list is available when Password is selected.

  • Encrypt algorithm: "RC4/40 bits (Acrobat 4)", "RC4/128 bits (Acrobat 5)", "AES/128 bits (Acrobat 6, 7)", "AES/256 bits (Acrobat 9)" or "AES/256 bits (Acrobat X)"

    The default is "RC4/40 bits (Acrobat 4)".

  • Encrypt metadata: also encrypts the document metadata; unchecked by default

tip

The AES options give stronger encryption than the RC4 options. Choose the strongest option that the readers of the documents support.

File filter tab​

The File filter tab selects the PDF files to encrypt; see File Filter. If the filter has a Credential, the Task uses it while it reads and writes the files. When the logon with the Credential fails, the Task continues as the account that runs the Server and writes the error to the Server log.

Destination tab​

Destination tab of the Encrypt Task, with the Save to.. group and the Folder and File mask boxes

  • Same file (Save to.. group): saves the encrypted file over the source file

  • Same folder but use file mask: saves the encrypted file in the folder set on the File filter tab, named by File mask

  • Different folder and use file mask: saves the encrypted file in Folder, named by File mask

  • Folder: the destination folder for Different folder and use file mask; click the folder button to browse

  • File mask: builds the new file name from the source file name, by the renaming standard set in Main - Settings

    The default * keeps the source file name.

warning

Same file replaces the source file. With the default File mask *, Same folder but use file mask also replaces a source file that is in the File filter folder. A file that already has the new name is replaced without a prompt.

When Include sub folders is checked on the File filter, Same folder but use file mask saves every result in the File filter folder, not in the subfolder the source file came from.

Output and errors​

The Task output contains "Success" for each file it encrypts. A file that is already encrypted, or that has a digital signature, raises an error, and so does a Certificate that no longer exists.

warning

With Same folder but use file mask or Different folder and use file mask, the Task copies the source file to the destination before it encrypts it. When encryption fails, that copy stays at the destination unencrypted.