Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

web.config for authorization

Status
Not open for further replies.

wallaceoc80

Programmer
Jul 7, 2004
182
GB
I have a web application and I want only a members of a certain group on a company intranet to have access to the web app.

In my web.config file I have authentication set to "Windows". In the authorization section I have it set to this:

Code:
<authorization>
    <allow users="group\subgroup" /> <!-- Allow all users in this group -->
</authorization>

However, it seems to let everybody on the network have access to the site even if they are not members of the group. Any ideas why?

Could it be something to do with me having:

<identity impersonate="true" />

in the web.config file aswell?

Thanks,

Wallace
 
set IIS directory security to Integrated Windows and uncheck anonymous
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top