0

I am using iText 2.1.7 for creating read-only PDF. I am using acrofields to set the content on the form. The PDF generated is read-only, any of the form fields are not editable.

The issue I am having is client doesn't want user to even add comments/ sticky notes from tool bar. Can anyone please suggest how I can disable commenting from tools on PDF using iText 2.1.7.

Amrut
  • 971
  • 1
  • 9
  • 17
  • 1
    here you go: http://stackoverflow.com/questions/10662424/how-to-make-pdf-read-only-in-itext –  Jun 03 '16 at 09:28
  • 1
    Please read the answer to [Generate pdf file in Secured mode](http://stackoverflow.com/questions/23466710/). It lists all the possible permissions that you can use with the `setEncryption()` method. Also tell your client that he should use iText 2.1.7 because of [legal and technical issues](http://developers.itextpdf.com/question/can-itext-217-or-earlier-be-used-commercially) and ask him to sign a paper so that he doesn't sue you when he finds out you've been introducing an IP liability into his source base. – Bruno Lowagie Jun 03 '16 at 10:53
  • Thanks both bruno & rafael, it did help. – Amrut Jun 03 '16 at 15:00

0 Answers0