in

Dot Net Mafia

Group site for developer blogs dealing with (usually) .NET, SharePoint 2013, SharePoint 2010, Office 365, SharePoint Online, and other Microsoft products, as well as some discussion of general programming related concepts.

This Blog

Syndication

Archives

Corey Roth [MVP]

A SharePoint MVP bringing you the latest time saving tips for SharePoint 2013, SharePoint 2010, Office 365, SharePoint Online, MOSS 2007, ASP.NET, LINQ, and Visual Studio 2012.

Difference between * and ? in Authoization Element

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

2012 dotnetmafia.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems