Remove Password from PDF Files via .NET

Posted on 2012-09-04
Medium Priority
Last Modified: 2012-09-18
I am using PDFbox to read several PDF documents, however I need the application to also remove the security on PDF files where passwords exist.

When using PDFbox decryption methods it advises that the PDF in question doesn't have any encryption and any user\owner password associated with the file .  However when I manually open the file question Adobe does request the password to open the file.

Does anyone if is possible to decrypt the PDF file via PDFbox or some other method\3rd party application.
Question by:Cmitch
LVL 83

Accepted Solution

CodeCruiser earned 2000 total points
ID: 38362758

Author Closing Comment

ID: 38408446
iTextSharp proved to be very useful for this and additional PDF manipulations.


Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The ability to edit PDF documents can be useful, however it may not be a straight forward process. Many non-technical people don't realise that a PDF document is basically an image rather than a text file, even if it contains nothing but text. If…
Update 21-May-2015: I temporarily removed the source code and the code snippets to make major changes to the program. Regards, Joe A recent question here at Experts Exchange piqued my interest, so I decided to provide a thorough solution and publ…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
Suggested Courses
Course of the Month16 days, 5 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question