Messed Up Web.Config Authorization - Help!

P

poi

I have a Win2K and Win2K web servers with Local Groups that contain
domain users and domain groups from a foreign trusted domain.
In the web config for the application, the web.config has this:

<identity impersonate="true"/>
<authentication mode="Windows"/>
<authorization>
<allow users="WebApp Users,Administrators" />
<deny users="*" />
<deny users="?" />
</authorization>

The local Administrator cannot log on, foreign-domain users cannot log
on, and a test local user I made and put into "WebApp Users
cannot log on either. I am trying to layer the permissions to allow
only local group members "WebApp Users" and "Administrators" in and deny
anonymous. Why doesn't that work?



And changing the settings to this allows everyone in, why aren't Roles
equivalent to Local Groups?


<identity impersonate="true"/>
<authentication mode="Windows"/>
<authorization>
<allow roles="FileTracker UI
Logon,Administrators,Users,Interactive" />
<deny users="?" />
</authorization>



Thanks!
 
S

Sanjay Tibrewal

Perhaps prefixing your allow users entries with the domain name will work.
Because in the second case you are rejecting only anonymous users perhaps
that's why it is working?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top