Difference between * and ? in Authoization Element

Posted Wednesday, April 19, 2006 4:16 PM by C-Dog's .NET Tip of the Day

Ok, it has been a while since I have posted. I don't have quite the free time I did before to look for things to post. Anyhow, this is nothing new, but I have seen it on some tests and stuff.

When using the authorization element in the web.config, you may want to deny particular users.

This line will deny all anonymous users.

<deny users="?" />

This line will deny all users.

<deny users="*" />

Most of you probably know that by now, but I thought I would point it out any way.

Read the complete post at http://www.dotnettipoftheday.com/blog.aspx?id=261