I understand that it is possible to hijack the asp.net session by stealing the asp.net session cookie. I guess that I’m thinking of stealing the cookie as it is transmitted over unsecure wi-fi.
Other than using SSL are there standard ways of securing this information? Or preventing the hijacking of the session?
Sadly, the only way to prevent cookies from being used in a replay attack is to send them over HTTPS since that ensures that the cookie itself is encrypted and, therefore, kept from prying eyes.
Have you seen Jeff Atwood’s blog entry about this matter, Breaking the Web’s Cookie Jar? Jeff focuses more on the concerns from the user’s perspective, but it’s worth reading anyway. Here’s what he says folks can do today:
There probably needs to be some sort of new, more secure approach for cookies going forward, but who knows if there will be enough traction to warrant such change or enough interest to spurn adoption. For web applications where security is paramount – think medical information websites, financial websites, and so on – the only plausible option is to require HTTS for the user’s entire browsing session.