Posted on: 3/22/2012 1:34:00 PM | Views : 586

So here's the scenario. I am building a website that's going to run on our local intranet.
I am using windows authentication to see who is accessing the website and right now I am
just trying to test the authorization portion. For some reason if I <deny users="*" /> it
works fine and won't allow anyone in, but if I <allow users="CS\G032945" /> which is my
username it allows everyone on the CS\ domain in. Here is my code below:
<configuration>
  <system.web>
    <authentication mode="Windows">
    </authentication>
    <authorization>
      <allow roles="CS\G032945" />
      <deny users="*" />
    </authorization>
    <compilation debug="false" targetFramework="4.0" />
  </system.web>
& ...

Go to the complete details ...