Document Protection Checker

Overview

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.

Function 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.
  2. The function checks:
    • If a PDF is password protected or has permission restrictions.
    • If a ZIP file is password protected.
  3. Based on the result:
    • Flag the file and prevent further processing if protected.
    • Allow processing to continue if the file is unprotected.
  4. The plugin can log incidents or notify users/admins for follow-up if necessary.

Key Features & Functionality

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.
Anonymous