News for hackers. Stuff that matters.
Re:Secure Your REST API by tptacek on Wednesday April 17, 2013 @03:21PM (#5566478)
Don't ever use passwords for API authentication. It's an API, not a browser. The users of an API are other programs, not people. Issue single-purpose random credentials.

I didn't think this was something I had to point out about API authentication, but apparently it is.

Re:Secure Your REST API by CodeMage on Wednesday April 17, 2013 @04:52PM (#5567144)
I have a stupid question: how do you do this with HTTP Basic auth?
Re:Secure Your REST API by tptacek on Wednesday April 17, 2013 @05:01PM (#5567225)
Generate random long passwords.
Re:Secure Your REST API by redblacktree on Thursday April 18, 2013 @12:55PM (#5571669)
By "don't ever use passwords" you mean, "don't let users set their own passwords," right?

Obviously, you're still using a password if you use HTTP Basic Auth.