title: Allow allow AD Group access
body: <p>I have an ASP.NET website and I would like to only allow users in an AD group access to the site. I am using a web.config snippet as below, but this does not seem to work:</p>
  
  <pre><code>&lt;authorization&gt;
          &lt;deny users="*" /&gt;
               &lt;add accessType="Allow" roles="DOMAIN\GroupTest" /&gt;
  
          &lt;/authorization&gt;
  </code></pre>
  
  <p>Any advice how to implement this is much appreciated!</p>