[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Export.Pdf.Section.PdfSecurity

PdfSecurity Class

Encapsulates the information necessary to provide PDF document security and encryption.

Inheritance
PdfSecurity
Namespace: GrapeCity.ActiveReports.Export.Pdf.Section
Assembly: MESCIUS.ActiveReports.Export.Pdf.dll
Syntax
[TypeConverter(typeof(ExpandableObjectConverter))]
public class PdfSecurity
Remarks

If a user password is supplied the viewer application should prompt for a password. If a user password is not supplied no password will be requested to open the document. By correctly supplying either the user password, or the owner password, the user will be able to open the document, decrypt it and display it on the screen. Whether additional operations are allowed on a decrypted document depends on which password (if any) was supplied when the document was opened and on any access restrictions specified using this class's Permissions property.

Properties

Name Description
Encrypt

Determines whether the document is encrypted or not.

OwnerPassword

The owner password that can be entered in the reader that permits full access to the document regardless of the specified user permissions.

Permissions

Specifies the user permissions for the document. The PdfPermissions values can be combined using a bitwise OR combination.

Use128Bit

True to use 128 bit encryption with full permissions capability.
False to use 40 bit encryption with limited permissions. The AllowFillIn, AllowAccessibleReaders, and AllowAssembly permissions require this value to be true.

UserPassword

The user password that can be entered in the reader. If this value is left empty the user will not be prompted for a password, however the user will be restricted by the specified permissions.