Payload (computing)

{{Short description|Content of a message excluding headers and metadata}}

{{Other uses|Payload (disambiguation)}}

In computing and telecommunications, the payload is the part of transmitted data that is the actual intended message. Headers and metadata are sent only to enable payload delivery{{cite web|url=https://www.pcmag.com/encyclopedia/term/payload |title=payload |website=Pcmag.com |date=1994-12-01 |access-date=2021-04-29}}{{cite web|url=http://www.techterms.com/definition/payload |title=Payload |website=Techterms.com |access-date=2021-04-29}} and are considered overhead.

In the context of a computer virus or worm, the payload is the portion of the malware which performs malicious action.

The term is borrowed from transportation, where payload refers to the part of the load that pays for transportation.

Networking

In computer networking, the data to be transmitted is the payload. It is almost always encapsulated in some type of frame format, composed of framing bits and a frame check sequence.{{cite IETF

| title = "RFC 1122: Requirements for Internet Hosts — Communication Layers"

| rfc = 1122

| page = 18

|date=October 1989

| publisher = IETF

| access-date = 2010-06-07

}}{{cite web|url=http://www.tcpipguide.com/free/t_DataLinkLayerLayer2.htm |title=Data Link Layer (Layer 2) |publisher=The TCP/IP Guide |date=2005-09-20 |access-date=2010-01-31}} Examples are Ethernet frames, Point-to-Point Protocol (PPP) frames, Fibre Channel frames, and V.42 modem frames.

Programming

In computer programming, the most common usage of the term is in the context of message protocols, to differentiate the protocol overhead from the actual data. For example, a JSON web service response might be:

{ "data": { "message": "Hello, world!" } }

The string Hello, world! is the payload of JSON message, while the rest is protocol overhead.

Security

{{Anchor|Computer security}}In computer security, the payload is the part of the private user text which could also contain malware such as worms or viruses which performs the malicious action; deleting data, sending spam or encrypting data.{{cite web |url=https://www.techopedia.com/definition/5381/payload |title=Payload |date=15 December 2016 |publisher=Techopedia.com |access-date=2018-03-05}} In addition to the payload, such malware also typically has overhead code aimed at simply spreading itself, or avoiding detection.

See also

  • {{anl|Protocol data unit}}
  • {{anl|Service data unit}}

References