title: IIS: Let pass only allowed requests
body: <p>How can i configure IIS so all requests are blocked except those that I allow?</p>
  
  <p>So for example <strong><em>www.mypage.com</em></strong> is reachable and everything else is blocked except all requests starting with <strong><em>wwwroot</em></strong></p>
  
  <p>Allow:</p>
  
  <pre><code>www.mypage.com*
  www.mypage.com/wwwroot/*
  </code></pre>