paint-brush
How Does HTTP Authentication Workby@mozilla
1,378 reads
1,378 reads

How Does HTTP Authentication Work

by Mozilla ContributorsJune 15th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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.
featured image - How Does HTTP Authentication Work
Mozilla Contributors HackerNoon profile picture
Mozilla Contributors

Mozilla Contributors

@mozilla

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

About Author

Mozilla Contributors HackerNoon profile picture
Mozilla Contributors@mozilla

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite