HTTP Basic Authentication provides a straightforward mechanism for authentication. Credentials are sent in plain text, and so is insecure by default. Successful authentication proceeds as follows.
The client requests a page for which access is restricted:
GET /secret
The server responds with st...