Accessing Shared Folders on a computer in another domain using UNC

  • Thread starter Thread starter Baron
  • Start date Start date
B

Baron

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!!!
 
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.
 
but the point is
I'll need different accounts when accessing different machines

thanks
baron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top