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
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions