iText encryption doesn't allow normal opening
Posted on 2008-10-12
I use iText to modify PDF files, encrypt them to block printing, modifying or copying text from it. I can do that with Acrobat Professional, but I want to do that with iText.
iText does it but it also protects entire file and doesn't allow OPENING file normally, I tried everything but again it encrypt the file and do not let opening file.
Please advice, I want to disable printing, modifying etc. but I don't want to disable opening...
Here is how I call iText
java -cp itext.jar;bcprov.jar com.lowagie.tools.EncryptPdf output2.pdf encrypted_output.pdf user master 00000000 128
Thanks from now!