SSL Form Post in ASP.NET MVC 1.0

Posted by goombaloon on Stack Overflow See other posts from Stack Overflow or by goombaloon
Published on 2010-03-09T04:31:03Z Indexed on 2010/03/09 4:36 UTC
Read the original article Hit count: 511

Filed under:
|

I'd like to use SSL for the post action on the login page of my MVC 1.0 app. I've seen some articles related to the [RequireSSL] attribute in ASP.NET MVC Futures. However, since this works using a redirect, I assume it's not an option (can't redirect a POST, correct?).

Ultimately, my goal is to get the Html.BeginForm method to render "https://..." as the form's action so that I can secure the information being posted (login info).

How have others handled this?

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about ssl