title: mvc5 global authentication check
body: <p>I am trying to secure my staging site (mvc5 app) and am currently doing the following:</p>
  
  <pre><code>    public class HomeController : Controller
      {
      public ActionResult Index()
      {
          if (Request.IsAuthenticated){
              return View();
          }
          return RedirectToAction("Login", "Account"); 
      }
  </code></pre>
  
  <p>The above is far too laborious to be correct, I am certain that I shouldn't have to wrap all of my Views individually with an authentication check, however I can't seem to add a check in one location?</p>