Here is my scenario. I have an entry page set up on an IIS7 website using windows authentication. This works great - I can use User.Identity.Name and see my domain/username perfectly.
What I want to do now is, from this entry page use WebClient to read a different bit of html generated from an aspx file and inject that to a div. The problem is when I use WebClient with UseDefaultCredentials= true or Credentials = CredentialCache.DefaultNetworkCredentials the WebClient is using the user that is running the Application Pool and not the user accessing the page.
Does anybody know how I might remedy this situation?
thanks for the help.
View Complete Post