iTextSharp 4.0.4 and newer enforce the password restrictions just like
Acrobat.

Paulo

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of sureshhalade
> Sent: Wednesday, October 03, 2007 6:02 AM
> To: [email protected]
> Subject: Re: [iText-questions] Query related to iTextSharp 4.0.4
> 
> 
> Hi...
> 
> Adding to the last thread, when I saw your reply to the 
> thread "PdfReader
> not opened with owner password ", I have tried decrypting a 
> pdf file by user
> password using iTextSharp 4.0.3 and its working fine. 
> 
> But is it safe to use iTextSharp version 4.0.3 instead of 
> iTextSharp 4.0.4
> for decryption of pdf files in our application? Or does it have any
> limitations on it?
> 
> Thanks,
> Suresh
> 
> 
> 
> sureshhalade wrote:
> > 
> > Hi...
> > 
> > Thx for your prompt reply.
> > 
> > But can I decrypt a pdf file which is encrypted by user 
> password only (no
> > owner password set) using PdfStamper or any other class of 
> iTextSharp?
> > Or is there any workaround for the same using iTextSharp classes?
> > 
> > -Suresh
> > 
> > 
> > Paulo Soares wrote:
> >> 
> >>  
> >> 
> >>> -----Original Message-----
> >>> From: [EMAIL PROTECTED] 
> >>> [mailto:[EMAIL PROTECTED] On 
> >>> Behalf Of [EMAIL PROTECTED]
> >>> Sent: Friday, September 28, 2007 2:10 PM
> >>> To: [email protected]
> >>> Subject: [iText-questions] Query related to iTextSharp 4.0.4
> >>> 
> >>> Hello...
> >>>  
> >>> I am using iTextSharp 4.0.4 class library and its PdfReader 
> >>> and PdfStamper classes for decryption of pdf files.
> >>>  
> >>> I could succeed with decrypting pdf files with following cases -->
> >>> 1. Pdf file encrypted with both user and owner password.
> >>> 2. Pdf file encrypted with only the owner password.
> >>>  
> >>> But I am not able to decrypt it in the case where Pdf file is 
> >>> encrypted with both only user password.
> >>>  
> >> 
> >> That won't even work in Acrobat. The user and owner 
> passwords must be
> >> different.
> >> 
> >> Paulo


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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to