From iText version 2.0.3 and iTextSharp 4.0.4 the password restrictions are 
enforced by the library instead of passing that responsability to the 
developer. Using PdfStamper or importing pages in PdfStamper, PdfCopy and 
PdfWriter will throw an exception if the PDF was not opened with the owner 
password. This was a legal requirement.

Paulo

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Scott Tyriver
> Sent: Tuesday, September 16, 2008 6:54 PM
> To: [email protected]
> Subject: [iText-questions] PdfReader fails when password
> security is set
>
>
>
> Hello we recently migrated from version 1.3.4 to 2.0.7
>
> After this migration we are getting errors when attempting to
> merge or split a document that has password security set.
> PdfReader not opened with owner password'
>
> The same document works fine with the 1.3.4 library. We use
> iText for a document imaging product and do merge and splits
> of PDF's that are uploaded by our users. We do not know what
> the password is. Are we stuck with this version of the itext
> library or is ther some alternative.


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
informação confidencial ou legalmente protegida. A incorrecta transmissão desta 
mensagem não significa a perca de confidencialidade. Se esta mensagem for 
recebida por engano, por favor envie-a de volta para o remetente e apague-a do 
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de 
usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain 
confidential or legally protected information. The incorrect transmission of 
this message does not mean the loss of its confidentiality. If this message is 
received by mistake, please send it back to the sender and delete it from your 
system immediately. It is forbidden to any person who is not the intended 
receiver to use, distribute or copy any part of this message.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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

Reply via email to