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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I configure an application to allow only a certain NT group?

Status
Not open for further replies.

qwert231

Programmer
Sep 4, 2001
756
0
0
US
I want to limit access to a web application to only certain Users in our NT/Active Directory database. I have turned off anonymous access and set the app to use Windows security, but it allows anybody with a log-in to log in. I want to deny certain groups, so I did:
<authorization>
<allow roles=&quot;BossGroup&quot; />
<deny users=&quot;?&quot; />
<deny roles=&quot;MyGroup&quot; />
</authorization>

What should I do to achieve the security I want?
 
Make sure you set the authentication mode to Windows in the web.config. I'm not quite sure from the top of my head what it should be, but there probably is a <!-- commented --> template on the default web.config.
 
It should (and does) look like this:
<authentication mode=&quot;Windows&quot; />
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top