Loading...

PDF encryption and password

Support for GdViewer OCX and GdViewer Pro ActiveX/SDK.

PDF encryption and password

Postby Rocky » Wed Sep 17, 2008 11:05 pm

I have three issues.

a) a PDF has an open password, and I encrypted compatible with Acrobat v5.
When I display that, I get the status PdfPasswordNeeded
But if I know the password, is there a way to provide it programmatically so that I can view the pdf with the viewer ?

b) a PDF has an open password, and I encrypted compatible with Acrobat 7 and later.
When I display that, I get the status PdfCanNotBeDecrypted.

any plan to support PDF encrypted compatible with Acrobat 7 and later ?

c) I have a pdf that I got on the web, and that I can open with Acrobat Reader.
I know that something is probably wrong with this pdf, since I have an application that generates a png out of the first page, and it takes much more time then normal to achieve that on that sample

But when I try to open that pdf with the viewer, it crashes, and it is impossible to view another document after that. I'm using vb.net
paperless.zip
(638.28 KiB) Downloaded 65 times
Rocky
 
Posts: 27
Joined: Mon Jun 30, 2008 10:32 pm

Re: PDF encryption and password

Postby Loïc » Thu Sep 18, 2008 2:58 pm

Hi,

a) a PDF has an open password, and I encrypted compatible with Acrobat v5.
When I display that, I get the status PdfPasswordNeeded
But if I know the password, is there a way to provide it programmatically so that I can view the pdf with the viewer ?


Yes you can. You need to use the DisplayFromPdfFile() method. This method has an optional parameter which allows you to specify the PDF password.

b) a PDF has an open password, and I encrypted compatible with Acrobat 7 and later.
When I display that, I get the status PdfCanNotBeDecrypted.

any plan to support PDF encrypted compatible with Acrobat 7 and later ?


This feature is not yet available but are into our RoadMap. I think it will be available within few months.


c) I have a pdf that I got on the web, and that I can open with Acrobat Reader.
I know that something is probably wrong with this pdf, since I have an application that generates a png out of the first page, and it takes much more time then normal to achieve that on that sample

But when I try to open that pdf with the viewer, it crashes, and it is impossible to view another document after that. I'm using vb.net


I was able to open this file with the next release of the viewer (not yet available) which contains PDF viewing improvements. This release will be available within 3 or 4 days.

Best regards,

Loïc Carrère
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4442
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: PDF encryption and password

Postby Loïc » Sun Oct 12, 2008 12:34 pm

Hi,

PDF encryption compatible with Acrobat 7 and later are now available.

Best regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4442
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdViewer [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest