sandthipe wrote:if you post data from an unsecure page to a secure page, will that data be encrypted before it gets there? i've always thought it did not work that way, but Regions bank seems to do it this way.
The URL the form data is SSL. So the client opens a connection to https://www...., then it and the server negotiate an encryption protocol to use, exchange keys, and so forth. Once that's done, the form data is submitted over the resulting channel.
In other words, encryption is established before any subsequent HTTP transaction. So yes, the submitted form data is encrypted.
sandthipe wrote:what is the difference between having JS set the form action and just setting it in the HTML?
It's an ASP.NET page; the entire page is a form that submits back to itself (which makes you wonder why they don't use ASP.NET to handle the login). So,
sneakyimp wrote:I don't know if that form would even submit if you don't have javascript.
The login button stops working; even if you did manage to submit the form, it would just keep reloading the home page. Yay. We don't want your custom. Go away.