PdfSecuritySettings Properties

The PdfDocumentPdfSecuritySettings type exposes the following members.

Properties
  NameDescription
Public propertyAllowUserAnnotations
Gets or sets the permissions for users to annotate the PDF document with comments.

If AllowUserAnnotations is set false, the OwnerPassword must be set for the security measure to take effect.

Public propertyAllowUserCopyPasteContent
Gets or sets the permissions for users to extract or 'copy & paste' content (text and images) from f the PDF document.

If AllowUserCopyPasteContent is set false, the OwnerPassword must also be set for the security measure to take effect.

Public propertyAllowUserEdits
Gets or sets the permissions for users edit the PDF document. The features to edit the document depends entirely on the PDF client software used by the end user.

If editing rights are restricted, then the OwnerPassword must be set for the security measure to take effect.

Public propertyAllowUserFormData
Gets or sets the permissions for users to fill-in (enter data into) forms in the PDF document.

If AllowUserFormData is set false, the OwnerPassword must be set for the security measure to take effect.

Note. If you want to make the form readonly in Adobe Acrobat Reader please call MakePdfDocumentReadOnly(String) method or set AllowUserEdits to NoEdit and set OwnerPassword.

Public propertyAllowUserPrinting
Gets or sets the permissions for users to print the PDF document.

If print rights are restricted, then the OwnerPassword must be set for the security measure to take effect.

Public propertyOwnerPassword
Sets the owner password and enables 128Bit encryption of PDF content. An owner password is one used to enable and disable all other security settings.

OwnerPassword must be set to a non empty string value for AllowUserCopyPasteContent, AllowUserAnnotations, AllowUserFormData,s AllowUserPrinting and AllowUserEdits to be restricted.

Public propertyUserPassword
Sets the user password and enables 128Bit encryption of PDF content .

A user password if a password that each user must enter to open or print the PDF document.

Top
See Also
Download DLL or Install with Nuget