Detect Password protected PDF File

Detect Password protected PDF File

Forum member · Jul 26, 2010
Hi, Could you please tell me is there are any way to detect encryption PDF document. Using Dynamic PDF viewer. Greately appreciate if you could reply as soon as possible. Thank,

Re: Detect Password protected PDF File

Support · Jul 26, 2010
Hello, It is not possible to find out whether the PDF is encrypted using the DynamicPDF Viewer control. You will have to provide the password to open the PDF document in Viewer. Thanks, ceTe Software Support Team.

Re: Detect Password protected PDF File

Forum member · Dec 27, 2019
Hi there, I can open a password-protected file by getting the password interactively. I can also specify a password to be associated with a PDF. But this password does not appear to be saved with the file when I use the SaveFile method (which has only one parameter, the name of the file). However, the .Password property is flagged as Read/Write so I should be able to write a user-specified password to a PDF when saving it. Have I missed something here? Thanks for any help. Raymond (using VB& and Active X PDF viewer)

Re: Detect Password protected PDF File

Support · Dec 27, 2019
Hello, DynamicPDF Viewer for COM/ActiveX does not support setting a password to a PDF and resaving it with the changes. You can however open and view a password protected PDFs by providing the correct user password in the OpenFile method. Thanks, ceTe Software Support Team