Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
The service is hosted on IIS 6, where Windows authentication is enabled and anonymous - disabled. the above worked fine for me but now i want to limit access to only a single uers. i tried the following:
<system.web> <authentication mode="Windows" /> <authorization> <deny users="?" /> </authorization> </system.web>
but that did not work - all the domain users have access, not just user1.
<system.web> <authentication mode="Windows" /> <authorization> <allow users="DOMAIN\user1" /> <deny users="*" /> </authorization> </system.web>
I also tried to utilize PrincipalPermission attribute to limit access to a method:
<authorization> <allow users="DOMAIN\Group1"/> <deny users="DOMAIN\Domain Users"/> </authorization>
[PrincipalPermission(SecurityAction.Demand, Role = "Group1")]
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.