I found This Post and it looks like what I was needing for an application, my question is how do you revert back to plain http when https is no longer needed? Will it inherently do this based on an action not having the [RequireHttps] annotation?
EDIT: I found a couple posts talking about moving from https to http (here & here). However, I’d still appreciate an answer to the question below.
Alternately, I had debated on having the application open in a new window. Is it a fair assumption that the https will only apply to the new window?
ASP.NET MVC’s RequireHttps only goes one way. In the past I have just created my own FilterAttribute implementation to allow travel both ways:
EnsureHttpsAttribute
EnsureHttpAttribute
Almost the same implementation as RequireHttpsAttribute if memory serves; although the above implementation checks if it is a
Localrequest and ignores the switch to HTTPS.