Re: Accessing Shared Folders on a computer in another domain using UNC

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



You could run the ASP.NET application with the identity of a domain
user who is trusted on those other domains. Also, impersonation
doesn't nessecarily require pinvoke, in fact you could impersonate a
user by entering a specific username / password in web.config or in
the registry and get to the networked drives.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Fri, 29 Apr 2005 00:13:20 +0800, "Baron" <babylon@xxxxxxxxxxx>
wrote:

>an asp.net page on Machine A is trying to access files on several machines
>of different domains..
>any 'good' method to do it without mapping drive in prior.....
>
>i've read something called impersonate; but it use PInvoke, which I don't
>like using personally
>
>any good solution?
>
>thanks!!!
>
>

.



Relevant Pages