6 Application Protocols and Network Services

Learn how application-layer protocols resolve network names, deliver web and email services, and enable remote access, along with the security practices that help protect them.

How application protocols work

Application-layer protocols define how programs exchange information over a network. They specify message formats and the actions clients and servers take. A browser uses to request a resource; other protocols resolve names, transfer email, or provide remote access.

and name resolution

translates human-readable domain names into information computers use to locate network services. A device’s resolver may check its cache first. If it lacks an answer, recursive resolution consults servers until it obtains a result or an error. Caching speeds up later lookups, subject to each record’s time to live ().

returns of different types. A and AAAA records provide IPv4 and IPv6 addresses, respectively; CNAME records identify aliases; and MX records identify mail-exchange servers. For example, a mail system checks the recipient domain’s MX records to determine where to deliver a message.

and web services

is a client–server request-and-response protocol. A client identifies a resource and sends a request; the server replies with a status code and often content, such as a web page or data. A browser can send a GET request to retrieve a page, while a web application might use POST to submit information. is designed so that each request can generally be understood independently of earlier requests.

is used with a secure connection. helps protect data in transit and authenticate the server, but it does not, by itself, prove that a website is trustworthy or that its content is safe. /1.1, /2, and /3 use different message-transport mechanisms while sharing core semantics.

Email sending and mailbox access

Email uses separate protocols for sending messages and accessing them. transfers outgoing email between a mail client and a submission server, and between mail servers. Messages may pass through multiple relays; MX records help identify the next mail server.

lets a client access and manage messages and folders stored on a mail server, supporting synchronization across devices. lets a client retrieve messages from a mail server, but its capabilities differ from ’s server-side mailbox and folder management.

A mail app typically submits a new message using and later checks the user’s inbox using or . Use -protected connections for email submission and access so credentials and message traffic are not sent in cleartext.

Remote access and protection

Remote-access protocols let a user interact with a computer or service over a network. provides secure remote login and can support other secure services; its design includes transport protection, user authentication, and logical channels. provides remote display and input, allowing a client to interact with applications running on a remote Windows system.

Remote access can expose powerful control of a system. Protect it with strong authentication, restrict access to authorized users and networks, and keep the software updated. Prefer secure protocols and configurations. Encryption cannot compensate for weak passwords, compromised devices, or an untrusted remote host.

Connecting services with security

Application-layer services enable network tasks through agreed protocols. resolves names and publishes service information; serves web resources; transfers email while and provide mailbox access; and or RDP enables remote interaction. Using secure connections and limiting access helps protect these services and the information they carry.