--- Janis Braslins <[EMAIL PROTECTED]> wrote: > Hmm, any ideas? I really would like to go away from this WSH hack. > ----- Original Message ------- > > I need to be able to access files on password proteceted network file > shares from my ASP.NET app.
in order of difficulty.. 1 - Check out the logon user win32 api's 2 - Run your webserver as a domain user instead of the aspnet local account. Make that user a no priv user outside of the normal OU so they don't get any special network rights. Make sure the account isn't in the domain users group and then add it specifically to to shares you want to grant access. There are various hoops to jump through on your web server to make this work with docs at MS. 3 - Impersonation is possible on an intranet with local users and integrated authentication, *if* you can figure out all the hoops and troubleshooting necesary to ensure kerberos and not ntlm get's used when you are accessing the network share. =================================== This list is hosted by DevelopMentor� http://www.develop.com Some .NET courses you may be interested in: NEW! Guerrilla ASP.NET, 26 Jan 2004, in Los Angeles http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com
