Re: Accessing a network share from ASP.NET



You might like to refer to http://www.15seconds.com/issue/030926.htm

thanks,
Gaurav Kumar
http://blogs.technet.com/gauravphoenix/

"Arne Garvander" <ArneGarvander@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:821FAAC4-B604-4EAA-BECE-87898BBCDBF7@xxxxxxxxxxxxxxxx
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?

--
Arne Garvander
Certified Geek
Professional Data Dude

.



Relevant Pages

  • Re: Accessing a network share from ASP.NET
    ... LogonUserA Lib "advapi32.dll" to impersonate a network user. ... Login name ...
    (microsoft.public.dotnet.security)
  • Re: Windows Authentication
    ... pretty clear that a domain account must be used. ... Windows 2000 by using the security attributes of a network user to control ... login access. ...
    (microsoft.public.sqlserver.connect)
  • Re: To Be or To Impersonate, that is the Question
    ... and credentials will be controlled by the Windows Admin team. ... applications impersonate the network user. ... > ASP.NET applications on the machine would also be affected. ... to use for you to programmatically impersonate. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Desktop Problem (win xp)
    ... When I log in to my Windows XP machine using an administrator group username ... When I login as as a network user using Dynamic ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Password
    ... that VSS is on? ... If you have the network user name switch turned on, ... Joe ... One of them has the user name used for login. ...
    (microsoft.public.vstudio.sourcesafe)