Is it possible in IIS to set up a site in IIS and only let users of a certain AD Group get access to it?
The following should work, depending on your IIS version. You'll need to add a web.config if you don't have one (though you should on IIS7) in the directory root of your site. The below will allow Domain Admins and deny Domain Users (fairly self explanatory). Make sure you line up the config sections if you already have a section, etc.
You will need Windows Authentication enabled under Authentication in your site preferences for this to work, obviously, but I assume you already have this enabled.
| ||
0
|
Above does not work in IIS7 you need to use the role attribute, also if you want to restrict the whole site you dont need the location element
|
Nessun commento:
Posta un commento