Internet Engineering Task Force (IETF) P. Saint-Andre
Request for Comments: 7565 May 2015
Category: Standards Track
ISSN: 2070-1721
The 'acct' URI Scheme
Saint-Andre Standards Track [Page 1]
RFC 7565 The 'acct' URI Scheme May 2015
Table of Contents
1. Introduction
Existing Uniform Resource Identifier (URI) schemes that enable interaction with, or that identify resources associated with, a user's account at a service provider are tied to particular services or application protocols. Two examples are the 'mailto' scheme (which enables interaction with a user's email account) and the 'http' scheme (which enables retrieval of web files controlled by a user or interaction with interfaces providing information about a user). However, there exists no URI scheme that generically identifies a user's account at a service provider without specifying a particular protocol to use when interacting with the account. This specification fills that gap.
2. Terminology
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC2119].
3. Rationale
During formalization of the WebFinger protocol [RFC7033], much discussion occurred regarding the appropriate URI scheme to include when specifying a user's account as a web link [RFC5988]. Although both the 'mailto' [RFC6068] and 'http' [RFC7230] schemes were proposed, not all service providers offer email services or web interfaces on behalf of user accounts (e.g., a microblogging or instant messaging provider might not offer email services, or an enterprise might not offer HTTP interfaces to information about its employees). Therefore, the participants in the discussion recognized that it would be helpful to define a URI scheme that could be used to generically identify a user's account at a service provider, irrespective of the particular application protocols used to interact with the account. The result was the 'acct' URI scheme defined in this document.
Saint-Andre Standards Track [Page 2]
RFC 7565 The 'acct' URI Scheme May 2015
(Note that a user is not necessarily a human; it could be an automated application such as a bot, a role-based alias, etc. However, an 'acct' URI is always used to identify something that has an account at a service, not the service itself.)
4. Definition
The syntax of the 'acct' URI scheme is defined under Section 7 of this document. Although 'acct' URIs take the form "user@host", the scheme is designed for the purpose of identification instead of interaction (regarding this distinction, see Section 1.2.2 of [RFC3986]). The "Internet resource" identified by an 'acct' URI is a user's account hosted at a service provider, where the service provider is typically associated with a DNS domain name. Thus, a particular 'acct' URI is formed by setting the "user" portion to the user's account name at the service provider and by setting the "host" portion to the DNS domain name of the service provider.
Saint-Andre Standards Track [Page 3]
RFC 7565 The 'acct' URI Scheme May 2015
<a href='acct:bob@example.com'>find out more</a>
5. Security Considerations
Because the 'acct' URI scheme does not directly enable interaction with a user's account at a service provider, direct security concerns are minimized.
Saint-Andre Standards Track [Page 4]
RFC 7565 The 'acct' URI Scheme May 2015 6. Internationalization ConsiderationsAs specified in [RFC3986], the 'acct' URI scheme allows any character from the Unicode repertoire [Unicode] encoded as UTF-8 [RFC3629] and then percent-encoded into valid ASCII [RFC20]. Before applying any percent-encoding, an application MUST ensure the following about the string that is used as input to the URI-construction process:
7. IANA Considerations
In accordance with the guidelines and registration procedures for new URI schemes [RFC4395], this section provides the information needed to register the 'acct' URI scheme.
Saint-Andre Standards Track [Page 5]
RFC 7565 The 'acct' URI Scheme May 2015
URI Scheme Semantics: The 'acct' URI scheme identifies accounts8. References 8.1. Normative References[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Saint-Andre Standards Track [Page 6]
RFC 7565 The 'acct' URI Scheme May 2015
[RFC5890] Klensin, J., "Internationalized Domain Names for
8.2. Informative References
[RFC20] Cerf, V., "ASCII format for network interchange", STD 80,
Saint-Andre Standards Track [Page 7]
RFC 7565 The 'acct' URI Scheme May 2015
Acknowledgements