background preloader

Security

Facebook Twitter

Client Certificates

Conditional Filters in ASP.NET MVC 3. Say you want to apply an action filter to every action except one.

Conditional Filters in ASP.NET MVC 3

How would you go about it? For example, suppose you want to apply an authorization filter to every action except the action that lets the user login. Seems like a pretty good idea, right? Currently, it takes a bit of work to do this. If you add a filter to the GlobalFilters.Filters collection, it applies to every action, which in the previous scenario would mean you already need to be authorized to login. Asp.net mvc 2 - How to override the ActionLink behavior. Security - Will ASP.Net MVC's AntiForgeryToken Method work with Load Balancers. Improve Authentication with Windows Identity Foundation.

In-Depth Improve Authentication with Windows Identity Foundation Windows Identity Foundation turns authentication over to token servers, reducing demands on developers while preparing the way for a service-oriented world.

Improve Authentication with Windows Identity Foundation