Open a PDF that is password protected

  • Thread starter Thread starter SC
  • Start date Start date
S

SC

I am trying to programatically open pdf files that are password protected. I
can't seem to figure out how to pass the password when opening the file.

Any assistance would be greatly appreciated.

Thanks,

SC
 
There could be a good reason why the .pdf is password protected. It would be
to easy if you could bypass that by code...

otherwise if you know the password embed it in your code and if you have
multiple passwords you'd have to get those from a table where you keep those
passwords.
 
I am not trying to bypass the password. I have many documents with many
passwords that will be stored in a table. The question is how I can pass the
password when opening the file.
 
Find out from Adobe if you can provide a password to a pdf document in a
command line. They should be able to answer the question and tell you how it
should be formed. Then, if it is possible, you may be able to pass it using
the Shell command. But, first you need to find out from Adobe if and how.
 
Back
Top