Re:My take on RESTful authentication
by feralmoan on Tuesday December 24, 2013 @09:34AM
(#6959473)
I don't understand the problem mentioned with HTTP Basic, username/password injection
into the uri https://username:[email protected] works just fine if for some reason you can't set the header explicitly. http://tools.ietf.org/html/rfc3986#section-3.2
[ Parent
| on HN ]
Urls aren't encrypted.
If you're on an entirely secure network, and you don't mind users seeing user name + password in the url then it might not be a problem.
I think the (right) assumption is that http basic auth should always be used with TLS. Its why you can't generally install multiple certs on the same ip without sni support, no http headers, uri, url's etc. make it over the wire before the transport layer handshake. I've never seen these credentials appear in logs, and many browsers strip the auth preamble from the address bar. Anyway just food for thought, http basic isn't as bad as made out.