unc

Accessing a Shared File (UNC) From a Remote, Non-Trusted Domain With Credentials

自古美人都是妖i 提交于 2019-11-26 00:04:43
问题 We\'ve run into an interesting situation that needs solving, and my searches have turned up nill. I therefore appeal to the SO community for help. The issue is this: we have a need to programmatically access a shared file that is not in our domain, and is not within a trusted external domain via remote file sharing / UNC. Naturally, we need to supply credentials to the remote machine. Typically, one solves this problem in one of two ways: Map the file share as a drive and supply the