![]()
Acrobat Standard Security Support
Acrobat standard security (40-bit and 128-bit RC4 encryption) includes password protection and setting change and display permissions, such as printing and content extraction, for a PDF file.
To optionally support Acrobat standard security in ICEpdf, you must use a J2SE JDK with Java Cryptography Extension 1.2.x (JCE) support. J2SE 1.4 and greater includes JCE by default. However, if you are using JDK 1.3.1 you will need to install the JCE library separately. The JCE installation for JDK 1.3.1 is available from the following web site:
http://java.sun.com/products/jce/After you install JCE, you must also install a security provider that supports RC4 ciphers and MD5 hashes. ICEsoft recommends using the Bouncy Castle security provider, which is available for various Java 2 JDK versions. Download the appropriate library from the following web site and include it on the class path:
http://www.bouncycastle.org/If you use a different JCE 1.2.1-compliant security provider, you must set the system property com.icesoft.pdf.security.jceProvider appropriately. See "System Properties" for details.
Note: You must also code your application to respect the security settings. For example, you must disable printing if a PDF file is set with "No Printing" permissions. The ICEpdf Viewer reference implementation has been coded to respect security permissions, and you can use its source code as a model for your own application.
|
Copyright 2005-2007. ICEsoft Technologies, Inc. http://www.icesoft.com |