We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Receiving and opening password protected PDF documents

Hello,
We have applications that process PDF documents received from clients. Often, the PDF documents have a password set on them and our application is unable to process the documents. How can Aspose.PDF kit help us to process these password protected PDFs?
Thanks!

@lmillerloffacorp,

Thanks for contacting support.

In order to open the password protected file, you need to try using following constructor

Aspose.Pdf.Document("input.pdf", "password");

Where password is a string originally used to encrypt the PDF document. You may also visit the following link for information on how to determine if the input document is password protected.