New Forum | Previous | Next | (P-PDF) Developers
Topic: Check for Security programatically
Conf: (P-PDF) Developers, Msg: 122912
Date: 11/28/2004 04:57 AM
Here is the situation: My server equipped with Acrobat 5.05 and SDK 5. (no third party PDF related component).
On request the server will want to merge some of our documents.(using homemade COM VB6 component or wrapper)
Our documents include some without security and some with security set through a password (which we know, since these are our documents).
Apparently the merge process will work only on PDFs that have No security.
Is there an easy way to programmatically check if security is set ? (and thus skip merge)
Is there a way to reset security on the fly and put it back?
Provide a few lines of code, if you have the answer ;-)
Thanks in advance Ed