I'm writing a "discovery" tool which should let me search through assets in a predefined folder, network share, etc...
I have different parsers configured to search the contents of different file types we support. Last week we decided to add a parser for PDF files. As I have done PDF work in the past (using iText[sharp]) so I took the task. For non-protected PDF docs and documents where the owner password has been set, I can open them without problems (given that I have the passwords - which I will). I did, however discover that certain PDF files "sort of" have an owner password, but not really. Adobe InDesign apparently authors PDF files with an empty owner password. (at least that's how it appears). Acrobat Reader seems to know to NOT prompt for it, but when I try to access the contents/reader in code, I get a "Bad Password Exception: PdfReader not opened with owner password" error. This implies there is an ownerPassword the document requires to open the file, however Acrobat Reader never prompts me for it. Can anyone else explain this for me? If you need a document meeting this condition, please let me know and I can send it to you. Thanks. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Enforced-but-empty-ownerPassword-tp3750484p3750484.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php