title: windows authentication using ajax
body: <p>I want to create an internal website, preferably in asp.net, that uses ajax calls for performing all operations. </p>
  
  <p>The requirements are that the site should use windows domain authentication (to act as a single-sign-on solution) for verifying which user is sending the request. What is the best way to accomplish this in a secure fashion? I am open to a solution using https or cookies or anything else feasible.</p>
  
  <p>( I would prefer regular ajax using jquery since I havent used asp.net ajax but if that solves some issues more easily, then let me know) </p>
  
  <p>The current way I am doing this (not through ajax) is disabling anonymous access in iis and then getting the logged in username from asp.net, but this requires the site to perform postbacks, etc which i want to avoid.</p>