What's a Client? The Software That Makes the Request
In computing, a client is the program asking another program for a service. Your browser plays that role when it asks a website for a page.
The program handling the request is the server. Those names describe jobs in a conversation, so a powerful computer can be a client just as easily as a phone can.
People also call the device running that software a “client.” That's useful shorthand, but the software is what creates and sends the request.
Follow a weather request
Suppose you open a weather website and choose a city. Your browser asks the site's server for the information it needs, and the server sends back a response containing page content or weather data.
On the web, these exchanges follow HTTP, the Hypertext Transfer Protocol: the rules for formatting requests and responses. MDN's client-server guide describes how browsers use those messages to fetch information and submit it.
The client does useful work, too. Your browser arranges the page, draws the forecast chart, and responds when you select a different day.
How a Web Page Gets to Your Screen
A phone's weather app could request information from a service without displaying a website at all. Other clients include email programs that retrieve messages and automated programs that collect data on a schedule.
Nobody has to be clicking a button at the time.
Nor does every screen change require a fresh trip across the network. A browser can reuse content from its cache, a store of previous results, when the site's caching rules allow it; MDN explains how this reuse works.
One computer can play both parts
Client and server aren't permanent labels stamped on a machine. The HTTP standard explicitly treats them as roles for a particular connection.
A website's server might ask a separate weather service for the latest forecast. In that second exchange, the website's software is the client, even while it's serving your browser.
The two programs can also run on the same computer. A developer testing a website locally can use a browser to contact server software on that very laptop.
Calling something a client therefore tells you where a request begins. It doesn't tell you the machine's size, location, owner, or level of trust.
- Run a test server or a home lab without giving up desk space.
- Start right away with 16GB of memory and a 500GB SSD already inside.
- Drive two 4K screens when it doubles as an everyday desktop.
A button isn't a security boundary
Client-side work happens in the requesting software; server-side work happens in the software providing the service. That division matters when a program decides who can read or change information.
A website might hide its Delete button from ordinary users. That makes the page easier to use, but it doesn't stop someone from sending a deletion request through altered software.
The service must check permission when that request arrives. OWASP's authorization guidance warns against relying on client-side access checks, because people can bypass them.
Two different questions belong here: authentication checks who the requester is, while authorization checks what that requester may do. Successfully signing in doesn't grant access to everyone else's records.
The same principle applies to submitted values. A browser can flag an impossible birth date before you submit a form, but the server still needs its own checks; OWASP's input-validation guidance makes that distinction clear.
The client can make an interaction fast and pleasant. The service handling the request has to enforce the rules even when the requesting software behaves differently than expected.
A Server Is a Job, Not Just a Box

HTTP: The Requests and Replies That Make the Web Work

Sockets: How a Program Gets a Way to Communicate

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