Detect Password protected PDF File

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Viewer (v1)  /  Detect Password protected PDF File

DynamicPDF Viewer (v1) Forum

 Jul 26 2010 3:04 AM
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,
Posted by a ceTe Software moderator
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.
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)
Posted by a ceTe Software moderator
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

All times are US Eastern Standard time. The time now is 3:46 AM.