At my web application I need to create an action what will be accessible using http non secured connection. All other have to be accessible for https only.
I found that I can use [RequireHttps] attribute for controller and action.
But is there something like [AllowHttp] attribute?
I do not want to put to all controller's action [RequireHttps] attribute. It's easier to put [RequireHttps] to Controller and [AllowHttp] to one action what can be accessed unsecured. Of course if this attribute is available
I mean something like we can do with Authentication. [Authorize] to controller and [AllowAnonymous] for some actions what can be accessed without authentication.