Fixes for PDF Protect

P
Paulius
ConvertAPI

PDF Protect now grants every permission when AllowEverything is true. Protecting a PDF/A file no longer leaves it claiming PDF/A conformance, which encrypted files cannot have.

Fixes

  • AllowEverything - setting it to true had no effect, so the protected PDF still allowed nothing. It now turns on every permission. A specific permission such as PrintDocument overrides it only when you send that permission.
  • PDF/A input - the PDF/A standard forbids encryption, but a protected PDF/A file kept its PDF/A identification. The identification is now removed, so the result is an honest encrypted PDF.

Parameters

  • AllowEverything (bool, default false) - turns every permission on or off. AssembleDocument, CopyContents, ExtractContents, FillFormFields, ModifyAnnotations, ModifyContents, PrintDocument and PrintFaithfulCopy override it when sent.

Try it out