Re:How Not To Implement A Web Application That Handles Exter...
by a2tech on Wednesday February 03, 2010 @10:41PM
(#1099695)
Many websites post the forms to encrypted sites. Facebook and others do this-I haven't looked into hacker news or reddit.
Re:How Not To Implement A Web Application That Handles Exter...
by blhack on Wednesday February 03, 2010 @11:09PM
(#1099739)
It doesn't look like reddit or hacker news do.
reddit:
<form method="post" id="login_login-main" action="http://www.reddit.com/post/login" onsubmit="return post_user(this, 'login');" class="login-form-side">
HN: <form method="post" action="/y">
Re:How Not To Implement A Web Application That Handles Exter...
by revetkn on Wednesday February 03, 2010 @11:13PM
(#1099747)
...but reddit's only 91 lines of lisp, what did you expect?
Re:How Not To Implement A Web Application That Handles Exter...
by kogir on Wednesday February 03, 2010 @10:57PM
(#1099718)
This doesn't do any good because the page that contains the form can be transparently altered to post somewhere else by a man in the middle.
Re:How Not To Implement A Web Application That Handles Exter...
by revetkn on Wednesday February 03, 2010 @11:12PM
(#1099744)
Saying that it doesn't do any good might be a bit strong - it's still vulnerable, but much less so than straight-up POSTing over an unencrypted channel.
Re:How Not To Implement A Web Application That Handles Exter...
by tptacek on Wednesday February 03, 2010 @11:19PM
(#1099756)
You're right in the general case, but in the API case it doesn't matter how the form is rendered because API clients don't parse forms.
Re:How Not To Implement A Web Application That Handles Exter...
by IgorPartola on Wednesday February 03, 2010 @11:20PM
(#1099761)
Thanks to OpenID I don't have to worry about some of that.
Unless I'm completely missing something, neither does facebook, or reddit, or hacker news, or really any other website other than my bank.
edit: I had a complete lapse of thinking here and am totally wrong about this. There are still lots of websites that do not use SSL, but twitter and facebook are not among them, nevermind.