Wireless Application Protocol: Making the Web Fit an Early Phone
Wireless Application Protocol, or WAP, is a set of communication standards for delivering online services to mobile devices with limited screens, memory and processing power. Its designers also had to work around the limits of wireless connections.
A protocol sets the rules for communication. WAP supplied more than one set of rules because an early mobile service had several problems to solve: requesting information, carrying it across a constrained connection and displaying it on a small device.
Imagine an early handset requesting a short train timetable. A compact list of stations and departure times could be useful without recreating an entire desktop webpage. That was the sort of constraint WAP's designers had to work around.
How Does Your Phone Actually Make a Call?
A request that needed translation
The handset's microbrowser, a browser designed for a limited device, requested content. A server, the software providing the information, sent a response.
In a WAP 1.x arrangement described by the WAP Forum's 2001 architecture specification, a gateway could sit between them. This intermediary translated the mobile-side communication into the internet protocols used on the other side and could encode content into a more compact form.
One of those web protocols is HTTP, or Hypertext Transfer Protocol, which organizes web requests and responses. Translation let equipment using different communication rules take part in the same exchange.
This gateway did a different job from a Wi-Fi access point, which provides a local radio connection. “Wireless” in the name doesn't make WAP another word for Wi-Fi.
This translating gateway was one of the arrangements the specification allowed.
Two protected links still have a middle
The gateway also created a security boundary. Encryption protects information by turning it into a form that requires the appropriate key to read. Calling a connection encrypted doesn't tell you where the information becomes readable again.
In the older WAP gateway arrangement, protection on the phone-to-gateway link could end at the gateway. The gateway then used a separate protected connection to the web server. Information could be readable at the point between those two protections.
Microsoft's archived WAP security documentation describes this issue. Securing each leg didn't automatically keep the contents secret from the intermediary handling both legs.
End-to-end encryption describes a different boundary: the information remains protected through intervening systems until it reaches its intended endpoint.
- Bring your own private Wi-Fi anywhere a cell signal reaches.
- Put every device behind your VPN without setting up each one.
- Skip risky hotel and cafe networks entirely.
WAP changed, too
WAP 2.0 added support for internet protocols and described arrangements using Transport Layer Security, or TLS, through an intervening proxy. A proxy is an intermediary that handles communications for another system; in this arrangement, the protected transaction could pass through it without ending there.
The WAP Forum's January 2002 technical paper sets out this end-to-end option. The earlier gateway limitation therefore shouldn't be assigned to every version or configuration of WAP.
In a translating arrangement, the gateway needed trust because it could handle readable data. In the end-to-end option, the protected exchange could continue through it.
HTTP: The Requests and Replies That Make the Web Work

What Is a Gateway? The Next Stop Beyond Your Network

TLS Protects the Connection. The Destination Still Gets the Data.

QUOTE:
"Amateurs hack systems, professionals hack people."
