title: ASP .Net MVC 4 Authorize and AllowAnonymous
body: <p>I am completely new with this framework and I am still learning the basics of it and C#. Meanwhile, I came across with the attributes <strong>Authorize</strong> and <strong>AllowAnonymous</strong> while reading a book and I can't understand how a controller "knows" if the user trying to access those methods/actions is authenticated or not. Where is that information stored? Do I need to to have a special treatment while performing the login method?</p>
  
  <p>Thanks for any help.</p>