I need a way to acccess files on a fileshare from a different domain from my own? for example, I have here is an 开发者_如何转开发application that exists on a sever in Domain1 and this application needs to retrieve files from a server on Domain2.
Any ideas...
Does this help you in the right direction? I assume it's what your asking...
Map a Network Drive From Code for Cross-Domain File Copy.
The CodeProject link given on the site also gives the source code for downloading.
I recently had a similar issue and executing
net use \\machine.otherdomain myusername /USER:password
as part of the user's network logon was a solution for us. This is obviously not perfect but for our environment it was sufficient.
精彩评论