Implementing good UX and security are a delicate balance. You need to make decisions. Requiring the average Twitter user generate an application specific key prior to authorization an application via the OAuth dance would probably result in a pretty high drop off rate.
That said; if your machine is compromised to the point where your username and password are intercepted locally during the OAuth negotiation, you probably have bigger problems than the theft of your Twitter account. Darren On Thu, Dec 10, 2009 at 9:42 PM, Dewald Pretorius <[email protected]> wrote: > I still don't understand why Twitter doesn't just simply give each > user a unique 40-character API Key, which they can provide to an app > instead of their Twitter username and password. > > With that: > > a) The user's Twitter login credentials are not shared with anyone; > > b) The user can generate a new API Key, which immediately invalidates > access to all apps that don't have the new key; > > c) Changing the Twitter username and password does not break existing > app access; > > d) It's practically impossible to brute-force a 40-character key. > > It covers all the security benefits of OAuth from the user's > perspective. The only downside would be Twitter's control over > applications that they would gain with OAuth. > -- darren bounds [email protected]
