can we check whether pdf is password protected or not?


Is it possible to check whether PDF is password protected or not and level of encryption using finereder SD?

Was this article helpful?

0 out of 0 found this helpful


1 comment

  • Avatar
    Oksana Serdyuk

    There is not a separate method that allows to check whether a PDF file is password protected or not. But in case there is no password specified during the PDF file opening, when PDF is with password, then the appropriate exception will be thrown. For example, you can use this information in order to find out that the PDF file requires password. Also there is the IImagePasswordCallback interface, which is to be implemented on the customer's side (Help → API Reference → Image-Related Objects → IImagePasswordCallback).


Please sign in to leave a comment.