Add restrictions to a PDF

Use this action to add restrictions to prevent copying, printing, and modifying a PDF document.

Add restrictions to a PDF in Power Automate

Parameters

File Content

The content of the input PDF document.

  • This field is Required Required
  • The type is File File

Owner Password

The password required to open and change permissions of the PDF document.

  • This field is Required Required
  • The type is String String
  • The length is between 4 and 32 characters.

The characters in the password must be in the ASCII printable range (between positions 32 and 126). This range includes lowercase and uppercase letters, numbers, space, and some commonly used symbols like . , : ; # $ % & ( ) * + = ? !

User Password

The password required to open the PDF document.

  • This field is Optional Optional
  • The type is String String
  • Has the same requirements as Owner Password

Allow Copy Content

If set to True, users can copy the text, images, and other content to the clipboard.

  • This field is Optional Optional
  • The type is Boolean (True or False) Boolean

Allow Change Content

If set to True, users can change the content of the document.

  • This field is Optional Optional
  • The type is Boolean (True or False) Boolean

Allow Print

If set to True, users can print the document.

  • This field is Optional Optional
  • The type is Boolean (True or False) Boolean

Allow Print High Resolution

If set to True, users can print the document in high resolution.

  • This field is Optional Optional
  • The type is Boolean (True or False) Boolean

Allow Comment And Fill Form

If set to True, users can add, edit and modify annotations and fill form fields.

  • This field is Optional Optional
  • The type is Boolean (True or False) Boolean

Allow Fill Form

If set to True, users can fill forms fields.

  • This field is Optional Optional
  • The type is Boolean (True or False) Boolean

Allow Assemble Document

If set to True, users can assemble and manipulate the document (add or remove pages, merge, etc).

  • This field is Optional Optional
  • The type is Boolean (True or False) Boolean

Allow Accessibility

If set to True, accessibility programs can read the text and images of the document.

  • This field is Optional Optional
  • The type is Boolean (True or False) Boolean

Response

Locked PDF File Content

The content of the locked PDF document.

  • The type is File File
  • You can use it file as an input to other actions in your flow.