Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why the hell would you over complicate your API with things like s3 auth or other bs like oauth?

HTTP Basic Auth works pretty well with SSL and should be enough for most cases. Also, it's dead simple for the API to return a token that can be used after authentication in non-SSL endpoints of the API.



The title is a little misleading as the author is talking about HTTP vs HTTPS rather than the HTTP auth specification vs oauth (et al). Essentially his whole blog post could be reduced to this: servers shouldn't open port 80 on auth API sub-domains.

While he does have a point, I do think part of the blame lies with the client side as well. If you're dumb enough to transmit user details over clear text protocols then you really shouldn't be allowed near any sub-systems which require authentication.


hmm, not really... the post ends with: P.S. Don’t use HTTP Basic. Thanks.

That just don't make any sense to me and implicitly suggests using other authentication methods.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: