Welcome to TWiki... Users, Groups
Go

PdfSecurity

Password Security and PDF encryption.

Version: 8.0 and above

PDF encryption is supported as of version 8.0. The following is necessary to protect your PDF documents generated from InetSoft? reports.

  1. You must install a JCE/JCA security provider which follows the Java™ encryption framework. An example is that which is provided by http://www.bouncycastle.org
  2. You must set the following properties in the onLoad script of your reports. The behavior you will see is closely mapped to the Adobe Document Properties in Adobe/Macromedia 7.0 products.
    1. docInfo['pdf.password.owner']="owner1"; //owner1 is the owner's password.
    2. docInfo['pdf.password.user']="user1"; //user1 is the user's password
    3. docInfo['pdf.permission.add']="false"; //true to have the ability to add/modify. Similar to the Commenting Adobe property
    4. docInfo['pdf.permission.change']="false"; //true to change the PDF. Similar to Changing the Document and Document Assembly Adobe properties.
    5. docInfo['pdf.permission.copy']="false"; //true to use Copy in the PDF. Similar to Content Copying or Extraction and Content Extraction for Accessibility Adobe properties.
    6. docInfo['pdf.permission.print']="false"; //true to enable Printing of the PDF. Similar to Printing Adobe property.

You must use a password property in order for any of the other properties to take effect.

Please reference Appendix A of the Scripting Guide Version 9.0 and above.

-- StephenWebster - 10 Dec 2007

r2 - 11 Dec 2007 - 14:27:01 - ByronIgoe
Copyright © by the contributing authors.
Syndicate this site RSSATOM