cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@cocoon.zones.apache.org
Subject [DAISY] Updated: PDF Encryption
Date Mon, 02 Oct 2006 15:44:58 GMT
A document has been updated:

http://cocoon.zones.apache.org/daisy/documentation/1226.html

Document ID: 1226
Branch: main
Language: default
Name: PDF Encryption (previously Encrypting documents)
Document Type: Cocoon Document (unchanged)
Updated on: 10/2/06 3:19:54 PM
Updated by: Philippe Laplanche

A new version has been created, state: draft

Parts
=====

Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 1055 bytes (previous version: 37 bytes)
Content diff:
--- <html><body><p>TODO</p></body></html>
+++ <html>
+++ <body>
+++ 
+++ <h1>PDF encryption</h1>
+++ 
+++ <p>FOP supports encryption of PDF output, thanks to Patrick C. Lankswert. This
+++ feature is commonly used to prevent unauthorized viewing, printing, editing,
+++ copying text from the document and doing annotations. It is also possible to ask
+++ the user for a password in order to view the contents.</p>
+++ 
+++ <h2>How to encrypt pdf</h2>
+++ 
+++ <p>First install an encryption provider as described in the fop documentation.
+++ </p>
+++ 
+++ <p>You can configure the FOPSerializer like this (since 2.1.5-dev):</p>
+++ 
+++ <pre>&lt;map:serializer name="fo2pdf" src="org.apache.cocoon.serialization.FOPSerializer"
mime-type="application/pdf"&gt;
+++   &lt;renderer-config&gt;
+++      &lt;parameter name="ownerPassword" value="mypassword"/&gt;
+++      &lt;parameter name="allowCopyContent" value="FALSE"/&gt;
+++      &lt;parameter name="allowEditContent" value="FALSE"/&gt;
+++      &lt;parameter name="allowPrint" value="FALSE"/&gt;
+++      &lt;parameter name="allowEditAnnotations" value="FALSE"/&gt;
+++   &lt;/renderer-config&gt;
+++ &lt;/map:serializer&gt;</pre>
+++ 
+++ </body>
+++ </html>


Mime
View raw message