File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Open Source Projects and the fly likes PDF creation, disallow printing without setting permissions password Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "PDF creation, disallow printing without setting permissions password" Watch "PDF creation, disallow printing without setting permissions password" New topic
Author

PDF creation, disallow printing without setting permissions password

qns java
Greenhorn

Joined: Oct 28, 2011
Posts: 1
Hi

I am using Apache FOP to create PDF from xml, and when I set PDFEncryptionParams during pdf creation a random *Permissions* password is set on the pdf to be able to disallow print, pageextraction ...etc, I have looked at Itext api as well and it seems to follow suit.

The problem with 'Permissions' password on a pdf is that most pdf readers that browsers use do not interpret it correctly and prompt for a password even for opening the document, this is something I am trying to avoid.

Is there anything I can do to disallow print, copy on pdfs without setting a permissions password , either in creation code or on the UI

Thankyou

 
GeeCON Prague 2014
 
subject: PDF creation, disallow printing without setting permissions password