PDF4me Word icon

PDF4me Word

Process Word documents with PDF4ME's powerful Word processing capabilities. Add customizable text watermarks to Word documents with full control over styling, orientation, and positioning.

Secure Word Document

AI-generated

Summary

Secure a Word document by applying password protection and editing restrictions based on provided inputs.

Inputs

  • Word File Input Method (required) — Choose how to provide the Word file: from previous node as binary data, as a base64 encoded string, or by downloading from a URL.
  • Binary Data Property Name (required) — Name of the binary property containing the Word file (when using binary data input method).
  • Base64 Encoded Word Content (required) — Base64 encoded string of the Word file content (when using base64 input method).
  • Word File URL (required) — Publicly accessible URL to download the Word file (when using URL input method).
  • Document Name — Name of the input Word file, defaults to 'document.docx'.
  • Secure On Open — Enable password protection that restricts opening the document.
  • Open Password — Password required to open the document (required if Secure On Open is enabled).
  • Protection Type — Type of editing restriction to apply: none, read-only, allow comments, allow form fields, or allow revisions.
  • Protection Password — Password to enforce protection settings, required to modify protection (needed when Protection Type is not 'No Protection').
  • Output File Name — Name for the secured Word file output, defaults to 'secured_document.docx'.
  • Output Binary Data Name — Name for the binary data in the workflow output, defaults to 'data'.

Output shape

A single binary output containing the secured Word document file.

The output includes binary data named as specified; the secured document respects the selected open and editing protection settings. Input method influences how the Word file must be supplied, and appropriate passwords are required to enable protections.

Examples

Example 1: Protect a Word doc by requiring a password to open and making it read-only.

Provide the Word file (binary or base64 or URL), enable 'Secure On Open' with an open password, set 'Protection Type' to 'Read Only', provide a protection password, and specify output file and binary data names.

Discussion