How Does HTTP Authentication Work

Written by mozilla | Published 2020/06/15
Tech Story Tags: beginners | mdn-documentation | mozilla | hackernoon-top-story | http | authentication | browsers | protocol

TLDR 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.via the TL;DR App

no story

Written by mozilla | Mozilla (stylized as moz://a) is a free software community founded in 1998 by members of Netscape.
Published by HackerNoon on 2020/06/15