Uniform Resource Identifier (URI)

Uniform Resource Identifier (URI)

A Uniform Resource Identifier (URI) is a generic term used to refer to all types of names and addresses that point to objects on the World Wide Web. Essentially, an URI is a string of characters that uniquely identifies a resource on the Internet.

Structure of an URI

An URI is composed of several parts that, when combined, specify in detail how to access a resource. The main parts of an URI are:

  1. Scheme: Indicates the protocol used to access the resource, such as http, https, ftp, mailto, etc.
  2. Authority: Includes information regarding the domain (and, optionally, the port). For example, www.example.com.
  3. Path: Specifies the path to the resource within the domain. For example, /folder/file.html.
  4. Query: A string of data passed to the resource. It is optional and begins with a question mark (?). For example, ?id=1234.
  5. Fragment: A specific part of the resource, indicated by a hash symbol (#). For example, #section2.

Types of URIs

There are two main types of URIs:

  1. URL (Uniform Resource Locator): A type of URI that, in addition to identifying a resource, provides the means to locate it by specifying its address. Example: https://www.example.com/index.html.
  2. URN (Uniform Resource Name): A type of URI that serves to uniquely identify a resource, regardless of its current location. An URN does not provide the information to access the resource. Example: urn:isbn:0451450523.

Example of an URI

Consider the following URI: https://www.example.com/folder/file.html?id=1234#section2.

  • Scheme: https
  • Authority: www.example.com
  • Path: /folder/file.html
  • Query: id=1234
  • Fragment: #section2

Importance of URIs

URIs are fundamental to the functioning of the Web because they allow for the unique identification and location of resources. They form the basis for navigation, interaction, and data exchange on the Internet.

Conclusion

URIs play a crucial role in the digital world, allowing users and applications to access resources in a simple and standardized way. Their flexible structure and ability to represent both addresses and unique names make URIs an essential tool for communication and resource management on the Internet.

Want to give your company the highest level of cyber security? ISGroup SRL is here to help with cyber security solutions tailored to your business.

Would you like us to take care of everything for you? Our Virtual CISO and vulnerability management services are a perfect fit for your organization.

Already know what you need? Explore our services:

And much more. Protect your company with the best cybersecurity experts!