Can I fill in an encypted PDF with iTextSharp?
Posted
by Cmpalmer
on Stack Overflow
See other posts from Stack Overflow
or by Cmpalmer
Published on 2009-01-16T16:39:53Z
Indexed on
2010/05/27
16:31 UTC
Read the original article
Hit count: 337
I have a fillable, saveable PDF file that has an owner password (that I don't have access to). I can fill it out in Adobe reader, export the FDF file, modify the FDF file, and then import it.
Then I tried to do it with iText(Sharp). I can't create a PdfStamper from my PdfReader because I didn't provide the owner password to the reader. Is there any way to do this programmatically or must I recreate the document? Even using FdfReader requires a PdfStamper. Am I missing anything? Anything legal that is - I'm pretty sure I could hack the document, but I can't. Ironically, recreating it would probably be ok.
© Stack Overflow or respective owner