Secure PDF Document


The 'Secure PDF Document' flow action applies the specified security configuration to the PDF document provided. This flow action will encrypt, password protect and set the allowed user privileges (Copy, Print, Modify Contents +more).

Default Parameters

The default 'Secure PDF Document' flow action parameters are detailed below:

  • Filename: The PDF filename (including file extension).
  • File Content: A Base64 encoded representation of the PDF file to be processed.
  • View Password: Protect view access to the document.
  • Edit Password: Protect edit access to the document. 
  • Privileges: Set whether PDF document privileges are all allowed or denied, or whether specific privileges should be allowed or denied.

Please refer to the Obtaining the 'File Contents' Parameter article for guidance on how to obtain the 'File Content' parameter ready to provide to an Encodian flow action.

Additional Guidance

When securing a PDF document at least one password (either 'View Password' or 'Edit Password' must be provided. Additionally, both passwords can be provided together to secure both view access and edit access individually.

Advanced Parameters

The advanced 'Secure PDF Document' flow action parameters are detailed below:

  • Cryptographic Algorithm: Sets the encryption algorithm used to encrypt the document.

Note: the following advanced parameters are only applied when the default 'Privileges' parameter is set to 'Specific'.

  • Privilege - Assembly: Allows or denies the privilege to assemble the document (insert, rotate, or delete pages and create bookmarks or thumbnail images), even if Modify Contents is clear.
  • Privilege - Copy: Allows or denies the privilege to copy or otherwise extract text and graphics from the document.
  • Privilege - Fill in Forms: Allows or denies the privilege to fill in interactive form fields (including signature fields).
  • Privilege - Print: Allows or denies the privilege to print the document.
  • Privilege - Screen Readers: Allows or denies the privileged user a screen reader.
  • Privilege - Modify Contents: Allows or denies the privilege to modify the contents of the document by operations other than those controlled by Modify Annotations and Fill in Forms.
  • Privilege - Modify Annotations: Allows or denies the privilege to add or modify text annotations and fill in form fields.
  • Operation ID: (Advanced) The ID of a parent operation, please refer to Flow Action Return Options: File Content vs. Operation ID

Have more questions? Submit a request


Please sign in to leave a comment.
Powered by Zendesk