title: How to Deny access to one page when you are not logged in MVC 4?
body: <p>I have a non logged web application that contain 50 pages, I need to have one logged page "testpage" How can do this:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;authentication mode="Forms"&gt;
      &lt;forms loginUrl="~/Login/LoginExpiration.aspx" defaultUrl="~/Home/Default.aspx" slidingExpiration="true" timeout="120" /&gt;
  &lt;/authentication&gt;
  &lt;authorization&gt;
      &lt;allow users="?" /&gt;
  &lt;/authorization&gt;
  &lt;location path="testpage"&gt;
      &lt;system.web&gt;
          &lt;authorization&gt;
              &lt;deny users="?" /&gt;
          &lt;/authorization&gt;
      &lt;/system.web&gt;
  &lt;/location&gt;
  </code></pre>