we have a requirement to protect pdf files using a password, are there any java based open source tools which will help us in this regard?
iTextSharp is the .NET version :) I think you meant iText itextpdf.com :)
scott
2010-01-09 05:38:58
+2
A:
I would recommend using the iText java PDF library.
Inside iText, there is a class called PdfEncrypter which should let you password protect a PDF file.
David-Zazeski
2010-01-09 05:01:08
I am unable to access this link and it seems to be down for quite some time
Joshua
2010-01-09 12:06:04
If you're having trouble accessing the main iText website, you can also download the code from sourceforge:http://sourceforge.net/projects/itext/
David-Zazeski
2010-01-09 21:55:10
Is that for existing PDF's or the one you are currently creating?
Thorbjørn Ravn Andersen
2010-01-09 10:07:03
The example in the link is for the file that you are currently creating, and I think it works on other existing PDF's. Joshua didn't mention in what context he needs encryption.
True Soft
2010-01-09 14:16:51