Internet Engineering Task Force (IETF) R. Fielding, Ed.
Request for Comments: 7235 Adobe
Obsoletes: 2616 J. Reschke, Ed.
Updates: 2617 greenbytes
Category: Standards Track June 2014
ISSN: 2070-1721
Hypertext Transfer Protocol (HTTP/1.1): Authentication
Abstract
The Hypertext Transfer Protocol (HTTP) is a stateless application-
level protocol for distributed, collaborative, hypermedia information
systems. This document defines the HTTP Authentication framework.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in Section 2 of RFC 5741.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
http://www.rfc-editor.org/info/rfc7235.
Copyright Notice
Copyright (c) 2014 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
This document may contain material from IETF Documents or IETF
Contributions published or made publicly available before November
10, 2008. The person(s) controlling the copyright in some of this
Fielding & Reschke Standards Track [Page 1]RFC 7235 HTTP/1.1 Authentication June 2014
material may not have granted the IETF Trust the right to allow
modifications of such material outside the IETF Standards Process.
Without obtaining an adequate license from the person(s) controlling
the copyright in such materials, this document may not be modified
outside the IETF Standards Process, and derivative works of it may
not be created outside the IETF Standards Process, except to format
it for publication as an RFC or to translate it into languages other
than English.
Table of Contents
1. Introduction ....................................................3
1.1. Conformance and Error Handling .............................3
1.2. Syntax Notation ............................................3
2. Access Authentication Framework .................................3
2.1. Challenge and Response .....................................3
2.2. Protection Space (Realm) ...................................5
3. Status Code Definitions .........................................6
3.1. 401 Unauthorized ...........................................6
3.2. 407 Proxy Authentication Required ..........................6
4. Header Field Definitions ........................................7
4.1. WWW-Authenticate ...........................................7
4.2. Authorization ..............................................8
4.3. Proxy-Authenticate .........................................8
4.4. Proxy-Authorization ........................................9
5. IANA Considerations .............................................9
5.1. Authentication Scheme Registry .............................9
5.1.1. Procedure ...........................................9
5.1.2. Considerations for New Authentication Schemes ......10
5.2. Status Code Registration ..................................11
5.3. Header Field Registration .................................11
6. Security Considerations ........................................12
6.1. Confidentiality of Credentials ............................12
6.2. Authentication Credentials and Idle Clients ...............12
6.3. Protection Spaces .........................................13
7. Acknowledgments ................................................14
8. References .....................................................14
8.1. Normative References ......................................14
8.2. Informative References ....................................14