Share the joy
In ASP.NET MVC the RequireHttps attribute allows for securing controllers and controller methods, but it’s limited to either on or off statically. In this post I discuss a custom attribute that can dynamically set SSL usage based on a configuration setting or delegate.
Share the joy
A dynamic RequireSsl Attribute for ASP.NET MVC
Geen opmerkingen:
Een reactie posten