Loading...

Authentication when using DisplayFromFile

Support for GdViewer OCX and GdViewer Pro ActiveX/SDK.

Authentication when using DisplayFromFile

Postby syndrom » Mon Dec 20, 2010 2:35 pm

Hello,

would it be possible to extend the "DisplayFromFile" and "DisplayFromPdf"-Methods, so that it'll be possible to open the files under a different user, f.e. some kind of service-account ? We'd like to lock the folder, where the pdf-Files are located, for windows-users, so that it only can be accessed programmaticly using the service-account.

or maybe there's already a solution to this ?

best regards,
Matthias Hartung
syndrom
 
Posts: 3
Joined: Mon Dec 20, 2010 1:43 pm

Re: Authentication when using DisplayFromFile

Postby Loïc » Mon Dec 20, 2010 5:45 pm

Hi,

This is not the goal of the SDK. I suggest you to have a look on the winAPI to check how to change dynamically the native user account.

Kind regards,

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

Re: Authentication when using DisplayFromFile

Postby syndrom » Fri Jan 07, 2011 11:43 am

I solved this by using the DisplayFromFtp methods, as these support authentication. thanks anyway...
syndrom
 
Posts: 3
Joined: Mon Dec 20, 2010 1:43 pm


Return to GdViewer [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 2 guests