LATEST
NEWS - 13th August 2008
What is PDF Secure COM Component ?
PDF Secure COM Component is for ASP, .NET, PHP, Cold Fusion, VB, VC and other
languages.
PDF Secure
automates the process of password protecting pdf's,
encrypting pdf's, decrypting existing pdf's, re-encrypting, changing passwords,
adding permissions & changing existing permissions in pdf's.
Includes Encrypt RC 40 bit and RC 128 bit support, Decrypts RC 40, RC 128 & AES.
Example .asp, vb, .net, php, cold fusion & vc++ code included
simple ASP example of usage:-
(decrypt password file)
Set obj = Server.CreateObject("PDFSecure.PDFSecureCom.1")
obj.decrypt = True ' decrypt
obj.userpassword = "admin1" ' open password
result = CStr(obj.getPDFSecureFile("c:\\input.pdf", "c:\\output.pdf")
simple VC++ example of usage:-
PDFSecureLib::IPDFSecureComPtr *test = NULL;
struct __declspec(uuid("{99D24184-7D5E-43B1-8A0C-2146D223C1FF}")) IClass;
test = new PDFSecureLib::IPDFSecureComPtr( __uuidof(IClass) );
(*test)->decrypt = true; // decrypt
(*test)->Putuserpassword("admin1"); // open password
(*test)->getPDFSecureFile((char *)(_bstr_t)"c:\\input.pdf",(char *)(_bstr_t)"c:\\output.pdf");
simple VB example of usage:-
Dim obj As PDFSecureLib.PDFSecureCom
Set obj = New PDFSecureLib.PDFSecureCom
obj.decrypt = True ' decrypt
obj.userpassword = "admin1" ' open password
obj.GetPDFSecureFile("C:\input.pdf","C:\output.pdf")
simple ASP .NET using C# example of usage:-
PDFSecure.PDFSecureCom obj = new PDFSecure.PDFSecureCom();
obj.decrypt = 1; // ' decrypt
obj.userpassword = "admin1"; // open password("C:\input.pdf","C:\output.pdf");