Secure PDF

Know the component and how to use it.

Rafael Nobrega avatar
Written by Rafael Nobrega
Updated over a week ago


SecurePDF allows you to define a password, or specific settings (read only, print, fill in form, etc.) for an existing PDF file.

Take a look at the component's configuration parameters:

  • File Name: name or path of the PDF file that should receive the eventual password, or permissions.

  • Fail On Error: if the option is enabled, the execution of the pipeline with error will be stopped; otherwise, the pipeline execution continues, but the result will show a false value for the “success” property.

  • Set password: if the option is enabled, the inclusion of a password in the PDF file is allowed to generate a protected document.

  • Password: password to protect the PDF file.

  • Custom permissions: if the option is enabled, several options for access permissions on the PDF file are available; otherwise, the PDF file will be generated with full permissions.

  • Read only: access permission that sets the PDF file as "read-only". If the option is enabled, all other access permissions will be disabled.

  • Assemble document: allows pages to be added, rotated, and removed from the file.

  • Modify: allows you to modify the file.

  • Modify annotations: lets you add or modify text annotations in the file.

  • Extract content: allows you to extract texts and images from the file.

  • Extract for accessibility: lets you extract text and images from the file, for accessibility purposes.

  • Print: allows printing the file.

  • Print degraded: allows for degraded printing of the file.

  • Fill in Form: allows you to fill in forms with interactive fields.

Some parameters above accept Double Braces. To better understand how this language works, read our article by clicking here.

Did this answer your question?