News for hackers. Stuff that matters.
Re:The Dropbox API by kisielk on Friday October 21, 2011 @06:43PM (#3142044)
I understand that, but what keeps someone from pulling your key and secret out of your app and creating a trojan app? For example the app could look like your app, use the same key and secret, still authenticate as the user, but then steal their data and upload it to a third party server.

That may not be easily doable with iOS since Apple does a good job of curating their market, but I can imagine someone making a fake app like this that runs on Android and getting in to the Android market.

Re:The Dropbox API by kalleboo on Friday October 21, 2011 @10:11PM (#3142505)
That is a risk, Twitter has the same risk, and when they switched over to OAuth-only there was a debate about this. Twitter's stance was that it's the developer's responsibility to obfuscate your app secret. People promptly pulled apart the official twitter iPad app and found they had done a terrible job of obfuscating it themselves...
Re:The Dropbox API by kisielk on Saturday October 22, 2011 @12:30AM (#3142798)
In my opinion the big difference here is that a compromised Dropbox key would give the malicious app access to data it wouldn't normally be able to access. A stolen Twitter API key just lets the app act as any other Twitter app does, there's not really any additional data it would be privy to.
Re:The Dropbox API by jaredsohn on Saturday October 22, 2011 @03:35AM (#3143093)
I haven't had a chance to look into exactly how authentication works, but if going to the page would require that the user regrant access each time (and if the page would indicate the app name as well), this difference could be nullified.
Re:The Dropbox API by wladimir on Saturday October 22, 2011 @02:25AM (#3142989)
That's a weird reasoning of them. If the app-secret is ever sent over the network directly (either HTTP or HTTPS) there are plenty of ways to intercept it without having to dig into executables. I quickly skimmed over the OAuth code and that seems to be the case. But maybe they support digest-based authentication as well.