title: ASP.NET application accessing event log on Windows Server 2008 R2
body: <p>Can anyone explain why the following happens:</p>
  
  <p>My ASP.NET application requires access to Application event log.</p>
  
  <ol>
  <li><p>When I access web application initially, it returns "Security" exception (which is expected, as I haven't granted permissions to write to Application event log yet).  </p></li>
  <li><p>Then I give read/write permissions to IIS_IUSRS group on the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\eventlog. As a result of this action my web application starts working.</p></li>
  <li><p>Now I remove those permissions I've granted to IIS_IUSRS group. But 
  my web application keeps working (although I'd expect "Security" exception raised again)</p></li>
  </ol>
  
  <p>So, why web application keeps working, although permissions to write to Application log
  have been removed?</p>