See http://article.gmane.org/gmane.comp.java.lib.itext.general/46498/, the 
same applies to form filling. It's an iText limitation. If you need that 
feature you can:

- Use other library
- Develop it yourself
- Pay someone else for the development

What you CANNOT do is change the library in a way that goes against Adobe 
requirements concearning the PDF format, mainly (from the PDF reference):

Once the document has been opened and decrypted successfully, the 
application
has access to the entire contents of the document. There is nothing inherent 
in
PDF encryption that enforces the document permissions specified in the 
encryption
dictionary. It is up to the implementors of PDF consumer applications to 
respect the
intent of the document creator by restricting user access to an encrypted 
PDF file according
to the permissions contained in the file.

The intent of the creator may have been to allow form filling but as the 
library doesn't support it, game over.

Paulo

----- Original Message ----- 
From: <[email protected]>
To: "Paulo Soares" <[email protected]>
Sent: Wednesday, August 05, 2009 4:58 PM
Subject: Re: Re: [iText-questions] possible bug in PdfReader for encrypted 
pfds


> But the same form is openable, readable, and fillable using any pdf 
> viewer/reader. What I am doing is fill up the forms from my program and 
> presenting to the user to print or save it. So I dont think your concerns 
> can apply here.
>
> --
> This message was sent on behalf of [email protected] at 
> openSubscriber.com
> http://www.opensubscriber.com/message/[email protected]/12642617.html
> 


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to