Too Long; Didn't Read
This page shows an introduction to the HTTP framework for authentication and shows how to restrict access to your server using the HTTP "Basic" Scheme. RFC 7235 defines the HTTP authentication framework which can be used by a server to challenge a client request and by a client to provide authentication information. The challenge and response flow works like this: The server responds to a client with a 401 (Unauthorized) response status and provides information on how to authorize with a WWW-Authenticate response. A client that wants to authenticate itself with a server can then do so by including an Authorization request field.