IIS-authentication : 'Anonymous'

C

cmrchs

Hi,
Some illogical scenario...

I set the IIS-authentication method for the site I try to access to 'Anonymous'.

web.config-entries :
<authentication mode="None" />
<identity impersonate="true" />

<authorization>
<allow users="MYDOMAIN\IUSR_MYMACHINE" />
<allow users="*" />
</authorization>

Then browsing to the site gives me :
User was not authenticated , using Anonymous access
Windows identity: MYDOMAIN\IUSR_MYMACHINE
==> OK

Now, when I change only in the authorization-tag
<authorization>
<allow users="MYDOMAIN\IUSR_MYMACHINE" />
<deny users="*" />
</authorization>

do I get an Access Denied ???
I interpret the 2nd authorization-section as : Everyone is denied access but IUSR_MYMACHINE
This is not the case apparently. What am I missing here ?

Any ideas ?
thanks
Chris


**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 

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

Members online

Forum statistics

Threads
473,961
Messages
2,570,131
Members
46,689
Latest member
liammiller

Latest Threads

Top