A well-known URI is a Uniform Resource Identifier for URL path prefixes that start with /.well-known/. They are implemented in webservers so that requests to the servers for well-known services or information are available at URLs consistent well-known locations across servers.

Description

Well-known URIs are Uniform Resource Identifiers defined by the IETF in RFC 8615.[1] They are URL path prefixes that start with /.well-known/. This implementation is in response to the common expectation for web-based protocols to require certain services or information be available at URLs consistent across servers, regardless of the way URL paths are organized on a particular host. The URIs are implemented in webservers so that requests to the servers for well-known services or information are available at URLs consistently in well-known locations across servers.

The IETF has defined a simple way for web servers to hold metadata that any user agent (e.g., web browser) can request. The metadata is useful for various tasks, including directing a web user to use a mobile app instead of the website or indicating the different ways that the site can be secured. The well-known locations are used by web servers to share metadata with user agents; sometimes these are files and sometimes these are requests for information from the web server software itself. The way to declare the different metadata requests that can be provided is standardized by the IETF so that other developers know how to find and use this information.

Use

The path well-known URI begins with the characters /.well-known/, and whose scheme is "HTTP", "HTTPS", or another scheme that has explicitly been specified to use well-known URIs. As an example, if an application hosts the service "example", the corresponding well-known URIs on https://www.example.com/ would start with https://www.example.com/.well-known/example.[1]

Information shared by a web site as a well-known service is expected to meet a specific standard. Specifications that need to define a resource for such site-wide metadata can register their use with Internet Assigned Numbers Authority (IANA) to avoid collisions and minimize impingement upon sites' URI space.

List of well-known URIs

The list below describes known standards for .well-known services that a web server can implement.

URI suffix Description Reference Date of IANA registration
acme-challenge Automated Certificate Management Environment (ACME) [2] 2019-03-01
ai-plugin.json Manifest for a ChatGPT plugin. [3]
apple-app-site-association An Apple service that enables secure data exchange between iOS and a website. [4]
apple-developer-merchantid-domain-association Apple Pay [5]
ashrae BACnet - A Data Communication Protocol for Building Automation and Control Networks [6] 2016-01-22
assetlinks.json AssetLinks protocol used to identify one or more digital assets (such as web sites or mobile apps) that are related to the hosting web site in some fashion. [7] 2015-09-28
autoconfig/mail Mozilla Thunderbird mail autoconfiguration service [8]
browserid Mozilla Persona
caldav Locating Services for Calendaring Extensions to WebDAV (CalDAV) and vCard Extensions to WebDAV (CardDAV) [9]
carddav Locating Services for Calendaring Extensions to WebDAV (CalDAV) and vCard Extensions to WebDAV (CardDAV) [9]
change-password Helps password managers find the URL for the change password section. [10]
coap CoAP (Constrained Application Protocol) over TCP, TLS, and WebSockets [11] 2017-12-22
com.apple.remotemanagement Apple account-based user enrollment for Mobile device management [12][13]
core Constrained RESTful Environments (CoRE) Link Format [14]
csvm CSV metadata, Model for Tabular Data and Metadata on the Web [15] 2015-09-28
dat Links domain to Dat identifier, used by Beaker web browser.[16] [17]
did.json did:web Decentralized Identifiers (DIDs) for the Web
discord Domain verification for Discord account connection [18]
dnt Site-wide tracking status resource [19] 2015-08-19
dnt-policy.txt A privacy-friendly Do Not Track (DNT) Policy [20] 2015-08-19
est Enrollment over Secure Transport (EST) [21] 2013-08-16
genid The Resource Description Framework (RDF) Skolem IRIs [22] 2012-11-15
gpc Global Privacy Control (GPC) [23]
hoba HTTP Origin-Bound Authentication (HOBA) [24] 2015-01-20
host-meta Web Host Metadata [25]
host-meta.json Web Host Metadata [25]
http-opportunistic Opportunistic Security for HTTP/2 [26] 2017-03-20
keybase.txt Used by the Keybase project to identify a proof that one or more people whose public keys may be retrieved using the Keybase service have administrative control over the origin server from which it is retrieved. [27] 2014-04-08
matrix Provides discovery for both client and server APIs to the Matrix federated protocol. [28]
mercure Discovery of Mercure hubs. Mercure is a protocol enabling the pushing of data updates to web browsers and other HTTP clients in a fast, reliable and battery-efficient way. [29]
mta-sts.txt SMTP MTA Strict Transport Security Policy [30] 2018-06-21
ni Naming Things with Hashes [31]
nodeinfo Metadata for federated social networking servers [32]
oauth-authorization-server OAuth Authorization Server Metadata [33] 2018-03-27
openid-configuration OpenID Connect [34] 2013-08-27
openorg Organisation Profile Document [35] 2015-05-29
openpgpkey OpenPGP Web Key Service [36]
pki-validation CA/Browser Forum’s Baseline Requirements Certificate Policy for the Issuance and Management of Publicly-Trusted Certificates [37] 2017-02-06
posh PKIX over Secure HTTP (POSH) [38] 2015-09-20
pubvendors.json The IAB pubvendors.json tech spec, which provide a standard for publishers to publicly declare the vendors that they work with, and their respective data rights/configuration. [39] 2020-09-07
reload-config REsource LOcation And Discovery (RELOAD) Base Protocol [40]
repute-template A Reputation Query Protocol [41] 2013-09-30
resourcesync ResourceSync Framework Specification [42] 2017-05-26
security.txt Standard to help organizations define the process for security researchers to disclose security vulnerabilities [43] 2018-08-20
statements.txt Standard for collective contract signing [44]
stun-key Session Traversal Utilities for NAT (STUN) Extension for Third-Party Authorization [45] 2015-06-12
tdmrep.json Domain-wide TDM (Text and Data Mining) reservation [46]
time Time over HTTPS specification [47] 2015-12-09
timezone Time Zone Data Distribution Service [48] 2015-08-03
uma2-configuration User-Managed Access (UMA) 2.0 grant for OAuth 2.0 authorization [49] 2017-06-20
void Describing Linked Datasets with the VoID Vocabulary [50] 2011-05-11
webfinger WebFinger [51] 2013-03-15, 2013-09-06
xrp-ledger.toml XRP ledger node & account information. [52]

References

  • "Well-Known URIs". IANA. Retrieved 6 February 2018.

Footnotes

  1. 1 2 Nottingham, Mark (May 6, 2019). Well-Known Uniform Resource Identifiers (URIs). IETF. doi:10.17487/RFC8615. RFC 8615.
  2. Barnes, Richard; Hoffman-Andrews, Jacob; McCarney, Daniel; Kasten, James (March 6, 2019). Automatic Certificate Management Environment (ACME). IETF. doi:10.17487/RFC8555. RFC 8555.
  3. "Getting Started - OpenAI API". platform.openai.com.
  4. "App Search Programming Guide: Support Universal Links". developer.apple.com.
  5. "Apple Developer Documentation". developer.apple.com.
  6. "Proposed Addendum am to Standard 135-2012, BACnet - A Data Communication Protocol for Building Automation and Control Networks" (PDF).
  7. "Getting Started | Google Digital Asset Links". Google Developers.
  8. "Thunderbird:Autoconfiguration - MozillaWiki".
  9. 1 2 Daboo, Cyrus (February 6, 2013). Locating Services for Calendaring Extensions to WebDAV (CalDAV) and vCard Extensions to WebDAV (CardDAV). IETF. doi:10.17487/RFC6764. RFC 6764.
  10. "A Well-Known URL for Changing Passwords". w3c.github.io. Retrieved February 6, 2022.
  11. Bormann, Carsten; Lemay, Simon; Tschofenig, Hannes; Hartke, Klaus; Silverajan, Bill; Raymor, Brian (February 6, 2018). CoAP (Constrained Application Protocol) over TCP, TLS, and WebSockets. IETF. doi:10.17487/RFC8323. RFC 8323.
  12. "How users enroll their personal devices". support.apple.com. Retrieved 2022-04-23.
  13. "Discover Authentication Servers". developer.apple.com. Retrieved 2022-04-23.
  14. Shelby, Zach (August 6, 2012). Constrained RESTful Environments (CoRE) Link Format. IETF. doi:10.17487/RFC6690. RFC 6690.
  15. "Model for Tabular Data and Metadata on the Web". www.w3.org. 17 December 2015. Retrieved 2021-10-06.
  16. "Use a domain name with dat://". beakerbrowser.com. Retrieved 2020-08-24.
  17. "DEP-0005: DNS - Dat Protocol". www.datprotocol.com.
  18. "advaith (@advaith@mastodon.social)". Mastodon. 2023-07-17. Retrieved 2023-08-29.
  19. "Tracking Preference Expression (DNT)". www.w3.org. Retrieved 2021-10-06.
  20. "A privacy-friendly Do Not Track (DNT) Policy". Electronic Frontier Foundation. April 24, 2014.
  21. Pritikin, Max; Yee, Peter E.; Harkins, Dan (October 6, 2013). Enrollment over Secure Transport. IETF. doi:10.17487/RFC7030. RFC 7030.
  22. "RDF 1.1 Concepts and Abstract Syntax". www.w3.org. Retrieved 2021-10-06.
  23. "Global Privacy Control (GPC)". globalprivacycontrol.github.io.
  24. Farrell, Stephen; Hoffman, Paul E.; Thomas, Michael (March 6, 2015). "Other Parts of the HOBA Process". HTTP Origin-Bound Authentication (HOBA). IETF. sec. 6. doi:10.17487/RFC7486. RFC 7486.
  25. 1 2 Cook, Blaine; Hammer-Lahav, Eran (October 6, 2011). Hammer-Lahav, E (ed.). Web Host Metadata. IETF. doi:10.17487/RFC6415. RFC 6415.
  26. Nottingham, Mark; Thomson, Martin (May 6, 2017). "The "http-opportunistic" Well-Known URI". Opportunistic Security for HTTP/2. IETF. sec. 2.3. doi:10.17487/RFC8164. RFC 8164.
  27. "The "keybase.txt" Well-Known Resource Identifier". keybase.io.
  28. "Client-Server API".
  29. "Mercure.rocks: Mercure: The Specification". mercure.rocks.
  30. Margolis, Daniel; Risher, Mark; Ramakrishnan, Binu; Brotman, Alex; Jones, Janet (September 6, 2018). "MTA-STS Policies". SMTP MTA Strict Transport Security (MTA-STS). IETF. sec. 3.2. doi:10.17487/RFC8461. RFC 8461.
  31. Farrell, Stephen; Kutscher, Dirk; Dannewitz, Christian; Ohlman, Börje; Keränen, Ari; Hallam-Baker, Phillip (April 6, 2013). Naming Things with Hashes. IETF. doi:10.17487/RFC6920. RFC 6920.
  32. "NodeInfo". July 19, 2021 via GitHub.
  33. Jones, Michael B.; Sakimura, Nat; Bradley, John (June 28, 2018). OAuth 2.0 Authorization Server Metadata. IETF. doi:10.17487/RFC8414. RFC 8414.
  34. "Final: OpenID Connect Discovery 1.0 incorporating errata set 1". openid.net.
  35. "Organisation Profile Documents". opd.data.ac.uk.
  36. Koch, Werner. OpenPGP Web Key Directory. IETF. I-D draft-koch-openpgp-webkey-service-07.
  37. "Baseline Requirements Certificate Policy for the Issuance and Management of Publicly-Trusted Certificates" (PDF).
  38. Miller, Matthew A.; Saint-Andre, Peter (November 6, 2015). PKIX over Secure HTTP (POSH). IETF. doi:10.17487/RFC7711. RFC 7711.
  39. "web".
  40. Jennings, Cullen; Lowekamp, Bruce; Rescorla, Eric; Baset, Salman; Schulzrinne, Henning (January 6, 2014). Lowekamp, B (ed.). REsource LOcation And Discovery (RELOAD) Base Protocol. IETF. doi:10.17487/RFC6940. RFC 6940.
  41. Borenstein, Nathaniel S.; Kucherawy, Murray (November 6, 2013). A Reputation Query Protocol. IETF. doi:10.17487/RFC7072. RFC 7072.
  42. "ANSI/NISO Z39.99-2017".
  43. "security.txt". security.txt.
  44. "The "statements.txt" Well-Known Resource Identifier". stated.ai.
  45. Reddy.K, Tirumaleswar; Patil, Prashanth; R, Ram; Uberti, Justin (August 6, 2015). Session Traversal Utilities for NAT (STUN) Extension for Third-Party Authorization. IETF. doi:10.17487/RFC7635. RFC 7635.
  46. "TDM Reservation Protocol (TDMRep) ; Final Community Group Report". Text and Data Mining Reservation Protocol Community Group. 2022. Retrieved 2023-06-01.
  47. "20151129 Time over HTTPS specification — PHKs Bikeshed". phk.freebsd.dk.
  48. Douglass, Michael; Daboo, Cyrus (March 6, 2016). Time Zone Data Distribution Service. IETF. doi:10.17487/RFC7808. RFC 7808.
  49. Maler, E.; Machulak, M.; Richer, J. (January 7, 2018). "User-Managed Access (UMA) 2.0 Grant for OAuth 2.0 Authorization". docs.kantarainitiative.org.
  50. "Describing Linked Datasets with the VoID Vocabulary". www.w3.org. Retrieved 2021-10-06.
  51. Jones, Paul; Salgueiro, Gonzalo; Jones, Michael; Smarr, Joseph (September 6, 2013). WebFinger. IETF. doi:10.17487/RFC7033. RFC 7033.
  52. "xrp-ledger.toml File | XRPL.org". xrpl.org.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.