Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

Custom account in applicationpool overrides the windows authentication inIIS7 Why?

$
0
0
<div>

Hi ,

We have replace the Application Pool Identity into Custom account (ex: xyzuser) in the applicationPool .

We have hosted a sample asp.net in the IIS7 with Authentication mode=windows and the sample asp.net will use the ApplicationPool (with Custom account).

When the run the website in the intranet instead of the windows user (ex: user1) we are getting xyzuser as the username in theHttpContext.Current.user.Identity.Name..it should be user1 rite ? but we are getting the applicationpool custom user..

how to get the user1 in the HttpContext..

Please help

</div>

Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>