Raj,

 

So the simple answer is no... what you usually end up with is to not process 
the file, and tell the other side to give the password or not use a password in 
the first place. If none of the latter can be done, someone has a problem ;)

 

Regards,

Sven
 


From: [email protected]
To: [email protected]
Date: Tue, 30 Mar 2010 09:04:44 -0400
Subject: Re: [iText-questions] how to bypass owner password of pdf





See below for my answer I sent to another developer:
 
Hi Mathieu,
 
I know this sounds convoluted but everything is on the up n up. The files are 
our company’s proprietary material that are being processed for a specific 
reason by an outside entity and then sent back to us via ftp. If it were that 
simple as asking the password and getting it, I’d have done it by now. The 
folks in charge of sending this back have the actual programming done by 
outside programmers with whom they have no contact which is why it is not 
possible.
 
The point is, is there a way to have pdfreader bypass the password call (both 
owner and user)? Can I modify the java file, recompile it and run it?
 
 

From: Iliadis Yannis [mailto:[email protected]] 
Sent: Tuesday, March 30, 2010 4:15 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] how to bypass owner password of pdf
 
Hm and I thought that we developers are logical beings but as it seems my 
assumption was wrong.

First of all the idea behind encrypting documents is all about making the 
document not available to anyone without proper authorization, hence having a 
password to "unlock" it.

Second, if let's say there where these mechanisms to be able to bypass such 
security measures, posting these kind of information on a public mailing list 
would be, not to say, at least idiotic.

Saying that the customer has given permissions to use the documents, can't be 
proven by anyone on this list.

So to conclude this, since you say that your customer provides you with 
permissions to use his documents, he/she should also provide you the password 
to be able to process the pdf's or tell him not to apply a password in the 
first place.

Best regards

2010/3/29 Ernesto Duncan <[email protected]>

Hello,

 

as of iText 5.0.1, all decrypting of encrypted PDFs can be done by the default 
password "OpenSesame".

 

Have fun,

Ernesto.


 

On Mar 29, 2010, at 8:45 PM, Vengunta, Raj wrote:

 


Hello,

 

I have a pdf file coming in via ftp from an external server. This pdf file has 
an owner password to which I do not have access to. As a result any time I use 
iText to open this file and read it, I get an error. Is there any way that I 
can change iText’s pdfReader object to not ask for the owner password? In other 
words – to bypass the step where the owner password is passed in. Can this even 
be done and if so, how? Thanks,

 

Roger Vengunta

Web Development - Consultant

ph: 865.380.3000 x5643 (off)

[email protected]

 

 

CONFIDENTIALITY NOTICE

This message and the accompanying documents contain information that belongs to 
the sender and may contain information that is privileged, confidential, or 
exempt from disclosure under applicable law. If the reader of this e-mail is 
not the intended recipient, you are hereby notified that you are strictly 
prohibited from reading, disseminating, distributing, copying, or taking action 
in reliance on the content of this communication. If you have received this 
e-mail in error, please notify the sender immediately and destroy the original 
transmission. Thank you.



------------------------------------------------------------------------------

Download Intel&#174; Parallel Studio Eval

Try the new software tools for yourself. Speed compiling, find bugs

proactively, and fine-tune applications for parallel performance.

See why Intel Parallel Studio got high marks during beta.

http://p.sf.net/sfu/intel-sw-dev_______________________________________________

iText-questions mailing list

[email protected]

https://lists.sourceforge.net/lists/listinfo/itext-questions

 

Buy the iText book: http://www.itextpdf.com/book/

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/

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
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/
 


CONFIDENTIALITY NOTICE
This message and the accompanying documents contain information that belongs to 
the sender and may contain information that is privileged, confidential, or 
exempt from disclosure under applicable law. If the reader of this e-mail is 
not the intended recipient, you are hereby notified that you are strictly 
prohibited from reading, disseminating, distributing, copying, or taking action 
in reliance on the content of this communication. If you have received this 
e-mail in error, please notify the sender immediately and destroy the original 
transmission. Thank you.
                                          
_________________________________________________________________
Windows 7: kijk live tv, rechtstreeks vanaf je laptop.
http://windows.microsoft.com/nl-BE/windows7/products/home?os=win7
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
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