G
Guest
I have a machine in a domain 'HOME' and a machine in a DMZ which is not able
to communicate with the 'HOME' domain, and thus has it's own local users and
groups.
I'm writing a .NET assembly which will copy files from the machine in the
domain to the machine in the DMZ. When mapping a drive in Explorer I use the
credentials of the DMZ machine: NLIIS405\copyuser, password: copyuser. This
proves that the connection is available.
The problem is the file.copy in the assembly. I always get an access denied
because I should copy the file using the DMZ machine credentials.
Is there a way to copy files from the domain machine to the DMZ machine
using a DMZ machine login? I suspect it has to do with impersonation, but
don't know if the above is possible.
Does someone has experience with connecting to a network share from a server
which is not connected to a domain?
to communicate with the 'HOME' domain, and thus has it's own local users and
groups.
I'm writing a .NET assembly which will copy files from the machine in the
domain to the machine in the DMZ. When mapping a drive in Explorer I use the
credentials of the DMZ machine: NLIIS405\copyuser, password: copyuser. This
proves that the connection is available.
The problem is the file.copy in the assembly. I always get an access denied
because I should copy the file using the DMZ machine credentials.
Is there a way to copy files from the domain machine to the DMZ machine
using a DMZ machine login? I suspect it has to do with impersonation, but
don't know if the above is possible.
Does someone has experience with connecting to a network share from a server
which is not connected to a domain?