Shadow user with another one
-
Hi! How can i copy a file into another computer send de command with the credentials of another user. I used windows authenticated and now i want to do: FileCopy("sourcepath", "destpath") but do this by another user who not the windows user on the machine. Kosta
-
Hi! How can i copy a file into another computer send de command with the credentials of another user. I used windows authenticated and now i want to do: FileCopy("sourcepath", "destpath") but do this by another user who not the windows user on the machine. Kosta
You asked asimilar question on 31 May - and other people too. Must be a homework assignment or something? What you are attempting to do is essentially break the security model by impersonating another user. Get the owner of the server to share a disk resource to allow you to transfer the file or create a user on that server specifically for your use. Either way, you need sufficient rights to copy the file.
...Steve
1. quod erat demonstrandum 2. "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life." I read that somewhere once :-) -- modified at 20:18 Thursday 1st June, 2006