This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
When searching for examples of HTTP basic authentication with Go, every result I found unfortunately contained code which was either out-of-date (i.e. doesn't use the r.BasicAuth() functionality that was introduced in Go 1.4) or failed to mitigate the risk of timing attacks. So in this post, I'd like to discuss how to use it correctly in your Go applications. We'll start with a bit of background…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.