Understanding how information moves makes it easier to recognise where a system needs protection.
What you will learn
- Follow a request through a computer, network and application.
- Identify services, credentials and dependencies along a communication path.
- Explain why transport protection and application permissions are separate.
The key ideas in brief
- Identify hosts, services and communication paths.
- Distinguish connection protection from application permissions.
The key ideas
An operating system manages hardware, processes, files and permissions. Applications use its services to perform tasks. A network connects systems so they can exchange messages.
- IP addresses identify network destinations. Routers move traffic between networks.
- DNS translates names into addresses. Its answers influence where connections go.
- Ports identify network services on a host. A reachable service becomes part of the attack surface.
- Protocols define the rules for communication. HTTPS uses TLS to protect a connection, subject to correct implementation and certificate validation.
A connection can cross several systems under different ownership. List the browser, application, network, identity provider and database rather than treating “the internet” as one trusted component.
A practical example
A browser requests the temperature dashboard. DNS resolves its name, the browser establishes a protected connection and the application checks the user’s session before returning readings. Each step has its own security assumptions.
Follow a request from the user’s action
When an operator opens the dashboard, the browser first needs to find the service, establish a connection and exchange application messages. Name resolution supplies a destination. Routing moves traffic across networks. The server receives the request, interprets it and decides what the signed-in user may do. Storage and other services may be consulted before a response is returned.
Draw those steps without collapsing them into a single “cloud” box. The browser, DNS resolver, router, API, identity service and database have different jobs and failure modes. A cached page may still appear when the backend is unavailable; a successful login may coexist with a failed readings service. Distinguish a visible interface from a functioning end-to-end operation.
Understand processes, ports and permissions
A process is a running program. Its operating-system account and privileges influence which files, devices and services it can access. A listening network service accepts traffic on a defined interface and port. Exposing an administrative service to the wider network creates a path that may not be needed for normal operation.
For an embedded gateway, inventory both application services and operating-system facilities. Record which interfaces are reachable from each network zone, what authenticates users or devices and who maintains the component. A firewall rule can limit reachability, but it does not repair a flawed permission check inside an allowed service.
Keep the layers and their failures connected
TLS protects a connection when negotiated and validated correctly. The application still needs to validate inputs, enforce authorisation and handle session expiry. Protecting browser-to-cloud traffic says nothing by itself about the sensor-to-gateway interface or the technician’s update media. Review each flow separately and then consider interactions between them.
Use a failure walkthrough: DNS cannot resolve, a certificate is rejected, the connection times out, the session expires or storage is unavailable. Define the user-visible result for each. Preserve useful information about the failure without exposing passwords, tokens or sensitive payloads in error messages. Agree retry and recovery behaviour so repeated attempts do not create an uncontrolled load.
Apply the ideas
Sketch a reading request from browser to stored data. Mark where identity is checked, where permissions are enforced and where traffic is protected. The browser receives an HTTPS response containing another customer’s reading: which part of the design needs investigation?
Compare your approach
The protected transport worked well enough to return a response, but the application may have failed to enforce customer-level authorisation. Inspect the API’s decision for the requested record, the user’s tenant membership and any cache or storage query that could mix customers. A certificate or firewall change alone would not address that defect. Test the same request using separate authorised and unauthorised customer accounts.
Review your work
- Can you name the services hidden inside the cloud box?
- Are administrative interfaces included in the inventory?
- Have you defined what the operator sees during partial failure?
Keep this output: An annotated communication path with service ownership and failure responses.
