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

useAppPoolCredentials =true

$
0
0

Hello,

IIS below are enabled UseKernelMode, useAppPoolCredentials , authPersistNonNTLM to True. MY ASP.Net WEB API interacts with Data service and also Other WEB API (Dual Hop) Kerberos Constrained delegation is enabled . The calls making from Server 1 to Server 2 using Proxy are running under user context (requester) where as  below code without proxy is running under application pool context. Can you please throw some light ? Thanks in advance.

 var request = (HttpWebRequest)HttpWebRequest.Create(uri);
     request.Method = "Get";
     request.Accept = "application/json";
     request.Credentials = CredentialCache.DefaultCredentials;
     response = request.GetResponse();

Thanks

Rama Naresh


Viewing all articles
Browse latest Browse all 1881

Trending Articles



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