MorphoPDF icon

MorphoPDF

Professional PDF processing - merge, split, convert, compress, protect & more

Security & Signing → Protect PDF

AI-generated

Summary

Protect a PDF file by adding password-based encryption and setting user permissions for modifying, copying, annotating, filling forms, content accessibility, and document assembly.

Inputs

  • Input Method (required) — Choose how to provide the input PDF: either binary data from a previous node or a public URL (URL recommended for AI tool usage).
  • File URL (required) — Public URL of the PDF file to be protected (required if Input Method is URL).
  • Input Binary Property (required) — Binary property name containing the input PDF file (required if Input Method is binary).
  • User Password (required) — Password required to open the PDF document.
  • Owner Password — Optional password that authorizes editing permissions and changing protection settings.
  • Encryption Level (required) — Select encryption strength: 128-bit or 256-bit (recommended).
  • Allow Modifying (required) — Set whether document modification is allowed.
  • Allow Copying (required) — Set whether copying text and images from the PDF is allowed.
  • Allow Annotating (required) — Set whether adding comments and annotations is allowed.
  • Allow Filling Forms (required) — Set whether filling in form fields is allowed.
  • Allow Content Accessibility (required) — Set whether content access for screen readers is enabled.
  • Allow Document Assembly (required) — Set whether inserting, rotating, or deleting pages is allowed.
  • Output Type (required) — Choose how to return the protected PDF: as binary data or a temporary download URL valid for 1 hour.
  • Output Binary Property — Name of the binary property to store the output file when Output Type is binary.

Output shape

a single record

Returns the protected PDF either as binary data (in the specified binary property) or as a JSON object containing a temporary download URL (valid for 1 hour), filename, and file size.

Links

Discussion