Hi, i am doing pdf encryption. It is working fine. but We want to give only print permissin and shuld not be editable. when the pdf file is opened it is giving worning msg as "the pdf is procted not able to edit". But when we try to edit the text it is editable and not able to save changes, but we can take print by editing. We have to restrict complete editing. i am giving "PdfWriter.AllowPrinting" is it sufficiant? For trail i am using "Foxit pdfeditor".
sample code: reader = PdfReader(readFile); PdfEncryptor.encrypt(reader,new FileOutputStream(writeFile), "".getBytes(),"".getBytes(),PdfWriter.AllowPrinting,false); Thank U Regards KC ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions