Impersonate current windows identity vs logonuser

creed01

New member
Joined
Mar 8, 2013
Messages
2
Programming Experience
1-3
I have a test silverlight application that calls a WCF service to copy a file off of a different server to the web server. I can make it work by using the impersonate valid user and specifying credentials. I cannot make it work by obtaining the currentwindowsidentity which is the same user.

I have heard about double hops and things like that.

I have attached a small test project that illistrates what I am trying to do. One way works fine, the other does not.

All you have to do is change the credentials in the web.config file and change the strfilename variable to a file on a server other than the web server.

Thanks.
 

Attachments

  • ImpersonationSilverlightWCF.zip
    58 KB · Views: 24
Last edited by a moderator:
Back
Top