Protect Document

Protection of the PDF file, to ensure data security and privacy is needed in every possible instance of data transfer. Password setting is the widely used technique to ensure the security of that nature. This PDF4me feature helps you to set a password for the PDF file.

Parameters

NameString, Required

Filename including extension.

DocumentBuffer, Required

PDF File to be password protected. The file should always be PDF. The file should be passed as a binary file.

PasswordString, Required

Password to be set for PDF file.

PermissionsOptions, Required
Default: None

Permission of exemptions to be set while encrypting with a password. Allowed options are -

  • All
  • None
  • Copy
  • Annotate
  • Fill Forms
  • Support Disabilities
  • Assemble
  • Digital Print
  • Print and Modify.

Output

NameString

The name of the output file.

Doc DataBuffer

The output document in Base64 format.

Add Password to PDF module in Make