When I need to access a file on a network share from web page I use
LogonUserA Lib "advapi32.dll" to impersonate a network user. Login name and
password of that user is in the code
Is this best practice?
Is there a better way?

Signature
Arne Garvander
Certified Geek
Professional Data Dude
Gaurav Kumar - 01 Nov 2007 07:05 GMT
You might like to refer to http://www.15seconds.com/issue/030926.htm
thanks,
Gaurav Kumar
http://blogs.technet.com/gauravphoenix/
> When I need to access a file on a network share from web page I use
> LogonUserA Lib "advapi32.dll" to impersonate a network user. Login name
> and
> password of that user is in the code
> Is this best practice?
> Is there a better way?
Gaurav Kumar - 01 Nov 2007 07:06 GMT
You might like to refer to http://www.15seconds.com/issue/030926.htm
thanks,
Gaurav Kumar
http://blogs.technet.com/gauravphoenix/
> When I need to access a file on a network share from web page I use
> LogonUserA Lib "advapi32.dll" to impersonate a network user. Login name
> and
> password of that user is in the code
> Is this best practice?
> Is there a better way?