newbie: allow deny vs deny allow

J

Jeff

asp.net 2.0 security:

Below are 2 authorization blocks. I wonder what is the difference between
them from a security point of view?

I guess this can be a standard question on a asp.net 2.0 certification exam,
so i'm very interested to know the difference between these settings.

<authorization>
<deny users="?"/>
<allow users="*"/>
</authorization>

<authorization>
<allow users="*"/>
<deny users="?"/>
</authorization>
 
C

Cowboy \(Gregory A. Beamer\)

There should be nothing different because of the ordering. In each case, you
are saying allow all, but deny by ensuring a person has an account.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think outside of the box!
*************************************************
 

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,774
Messages
2,569,598
Members
45,161
Latest member
GertrudeMa
Top