How Does HTTP Authentication Workby@mozilla
1,332 reads

How Does HTTP Authentication Work

June 15th 2020
5m
by @mozilla 1,332 reads
tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

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.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - How Does HTTP Authentication Work
Mozilla Contributors HackerNoon profile picture

@mozilla

Mozilla Contributors

Mozilla (stylized as moz://a) is a free software community founded in 1998 by members of Netscape.


Receive Stories from @mozilla

react to story with heart
Mozilla Contributors HackerNoon profile picture
by Mozilla Contributors @mozilla.Mozilla (stylized as moz://a) is a free software community founded in 1998 by members of Netscape.
Read My Stories

RELATED STORIES

L O A D I N G
. . . comments & more!