title: Can I use Basic Authentication in Umbraco without a Login page
body: <p>I'm building an ASP.Net MVC web application, which uses Umbraco7, to replace an old WebForms website.</p>
  
  <p>The old WebForms site uses <code>Basic Authentication</code> on some sections of the site (specified at the directory level in IIS), which specify a default Windows domain with its own Active Directory. The browser requests the user ID and password on the appropriate pages, and the code behind retrieves the user information using the <code>System.Web.UI.Page.User.Identity</code> property.</p>
  
  <p>I would like to provide a similar experience on the new Umbraco site. </p>
  
  <p>Examples of MVC sites using <code>Basic Authentication</code> specify the authentication and default domain as attributes on the Controller methods, <a href="http://www.asp.net/mvc/tutorials/older-versions/security/authenticating-users-with-windows-authentication-cs" rel="nofollow">http://www.asp.net/mvc/tutorials/older-versions/security/authenticating-users-with-windows-authentication-cs</a>. </p>
  
  <p>Umbraco doesn't appear to provide individual controller methods for its content pages, and I've not found any Umbraco authentication examples that use <code>Basic Authentication</code> and rely on the browser to retrieve the credentials.</p>
  
  <p>Is it possible to use <code>Basic Authentication</code> on an Umbraco content page and retrieve the credentials using the browser?</p>