News for hackers. Stuff that matters.
Re:HTTP/2 Is Done by megaman821 on Wednesday February 18, 2015 @12:07AM (#9067075)
Well Basic Auth exists now, but it is unusable for most sites due to several well-documented shortcomings. Surely something could be done to improve upon it.
Re:HTTP/2 Is Done by tptacek on Wednesday February 18, 2015 @10:09AM (#9068860)
The most important shortcoming of basic auth is the idea of building it into the protocol to begin with. Session authentication is superior to basic auth.
Re:HTTP/2 Is Done by Kalium on Wednesday February 18, 2015 @01:31AM (#9067286)
Like kicking it up to the application layer?
Re:HTTP/2 Is Done by tveita on Wednesday February 18, 2015 @09:59AM (#9068804)
You can add new authentication methods by defining the format of the authorization/authentication headers. OAuth 2 does it. The only thing you need is buy-in from application authors.
Re:HTTP/2 Is Done by megaman821 on Wednesday February 18, 2015 @10:22AM (#9068932)
This is mostly true but browsers treat Basic Auth special. To use Authorization Bearer headers you have to use JavaScript and perhaps localstorage. When using Basic Auth the browser caches your credentials and allows you to be authenticated without cookies and without JavaScript code. The only way you can use OAuth header authorization today is with JavaScript apps, Basic Auth works with normal server side apps.