![Go Web Development Cookbook](https://wfqqreader-1252317822.image.myqcloud.com/cover/993/36699993/b_36699993.jpg)
上QQ阅读APP看书,第一时间看更新
Implementing basic authentication on a simple HTTP server
Once you have created the HTTP server then you probably want to restrict resources from being accessed by a specific user, such as the administrator of an application. If so, then you can implement basic authentication on an HTTP server, which we will be covering in this recipe.