Can I reset a forgotten owner password with iText?

Posted by Tom Hubbard on Stack Overflow See other posts from Stack Overflow or by Tom Hubbard
Published on 2010-01-20T17:57:55Z Indexed on 2010/05/19 0:10 UTC
Read the original article Hit count: 322

Filed under:
|
|

With iText I can use Java to open a pdf and write it. If the pdf has an owner password I can still open it but it can not be written.

Clearly the content is readable, it seems like at that point you could simply write the document to a new file. iText doesn't allow this, it throws a bad password exception. Is there a way around this?

© Stack Overflow or respective owner

Related posts about itext

Related posts about pdf