Access a shared folder from a machine not in the domain
<p>I am writing an application in c#, which connects to other machines using remoting, and implants an executable on each machine and then executes it. Each machine creates a dedicated shared folder locally and then asynchronously tries to write to other machines' shared folder.</p>

<p>The problem is that when one machine tries to write to a shared folder of a different machine (in case they are not in the same domain), it fails. if I try to manually access from one machine to the other's shared folder, I'm being prompted for credentials, even though I can see that the shared folder gives full permissions to everyone.</p>

<p>Does anyone know how to solve this issue?</p>

<p>Thanks!</p>
