Plug-in (Function & Smart Service)Free

Document Protection Checker

by Waivgen LLC

Description

In document-driven workflows such as claims processing, onboarding, or regulatory submissions, uploaded files like PDFs and ZIPs may be password-protected or have restricted permissions (e.g., copying, printing). These protections can interrupt automated processing and lead to failed extractions or user frustration.

Objective: To automatically detect password-protected or permission-restricted PDFs and password-protected ZIP files during document intake in Appian, enabling proactive handling before further processing.

Functional Flow:

  1. When a user uploads a document or a file is received via an integration (API/email), the custom Appian plugin function is triggered.
  1. The function checks:
  • If a PDF is password protected or has permission restrictions.
  • If a ZIP file is password protected.
  1. Based on the result:
  • Flag the file and prevent further processing if protected.
  • Allow processing to continue if the file is unprotected.
  1. The plugin can log incidents or notify users/admins for follow-up if necessary.

Features

Functions

isPDFPasswordProtected – Detects whether the PDF file is protected by a password.

isPDFPermissionProtected – Detects whether the PDF file has any permission restrictions (e.g., printing, copying, editing).

isZIPPasswordProtected – Detects whether the ZIP file is protected by a password.

Release notes

Security vulnerability fixes

Resources