Quoting Pritam Dewan <[EMAIL PROTECTED]>: > Hi. > I m actually writing the contents of the pdf to HTTPServlet.response > stream setting content type as "pdf".I m not using iText utility.Now this > stream of data is required to be encrypted as u have said.Can you tell me > how this can be achieved.
OK, now I understand it better. What you need is some kind of filter between the HTTPServlet.response and the client. In this filter you will import the (dynamically generated?) PDF and write the imported pages to a new Document that is written to the HTTPServlet.response. Go to http://www.geocities.com/itextpdf/ and download encrypt_pdf.zip It's a command line tool that serves this purpose. You will have to adapt it to fit into your Servlet application, but that is a problem not related to iText, so we can't give you more consultancy on that subject. Bruno ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
