PDF Encryption

PDF encryption

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.

How to encrypt pdf

First install an encryption provider as described in the fop documentation.