title: Set custom 401 error view in Windows Authentication mode for MVC application
body: <p>My MVC application is set on Windows Authentication mode.</p>
  
  <p>I would like to provide a custom 401 error view/page when a not-authorized user trying to access some resource at my app instead of the default IIS page.</p>
  
  <p>I'm decorating my <code>Action</code> with the following Attributes:</p>
  
  <pre><code>[HttpGet]
  [Authorized(Roles="Admin")]
  public ActionResult Add()
  {
    return View();
  }
  </code></pre>
  
  <p>How can I do it in MVC?</p>
  
  <p>Thank you,</p>