W3C home > Mailing lists > Public > www-xsl-fo@w3.org > March 2004

Re: pdf encryption

From: weihua li <wei_hua_li@yahoo.com>
Date: Mon, 22 Mar 2004 07:08:53 -0800 (PST)
Message-ID: <20040322150853.88286.qmail@web60510.mail.yahoo.com>
To: www-xsl-fo@w3.org
Thanks for your reply.

FOP Version 0.20.5 was used and embedded in Java application, run on Oracle9ias as J2EE Container as Webserver, and I used following:

rendererOptions.put("userPassword", "mypassword");

rendererOptions.put (“allowCopyContent", "FALSE");

rendererOptions.put (“allowEditContent", "FALSE");

rendererOptions.put (“allowPrint", "FALSE");



 I put the jce-jdk13-122.jar in Classpath and bcprov-jdk13-122.jar in jdk\jre\ext

Added a line in java.Security file: Security.provider.6=org.bouncycastle.jce.provider.BouncyCastleProvider  

The problem is when I rendering the pdf file, it does not ask for the password to view the pdf, and no error message at all, I doubt it really enable the encryption or not. It does not show any difference before and after adding security.

Thanks for your help and time!


Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
Received on Monday, 22 March 2004 12:14:35 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:10:00 UTC