CloudConvert icon

CloudConvert

Use CloudConvert to convert files, create thumbnails, merge files, add watermarks and more!

PDF → Encrypt PDF

AI-generated

Summary

Encrypt a PDF file by uploading it and applying password protection and permission restrictions using CloudConvert.

Inputs

  • Authentication (required) — Choose between OAuth2 (recommended) or API Key authentication.
  • Binary Input Data — Set to true to use the binary data from the specified binary property as input file; otherwise, provide file contents as text.
  • Input Binary Property Name (required) — Name of the binary property containing the PDF file data to encrypt when using binary input.
  • Input File Contents (required) — Text content of the PDF file to encrypt when not using binary input.
  • Set Password — Password required to open the encrypted PDF.
  • Set Owner Password — Owner password to control permissions; with it, all protections can be removed.
  • Allow Extract — Whether to allow extracting content from the PDF.
  • Allow Accessibility — Whether to allow accessibility features such as screen readers.
  • Allow Modify — Level of modification allowed for the PDF, e.g., "form"; refer to CloudConvert docs for valid values.
  • Allow Print — Level of printing allowed for the PDF, e.g., "full"; refer to CloudConvert docs for valid values.

Output shape

binary file

Returns the encrypted PDF file as binary data in the output. The output is a single encrypted PDF file wrapped as binary data, paired to the input item.

Links

Discussion