Security goals become access decisions

Follow one network request from threat to policy and separate confidentiality, integrity, availability and AAA. Security, cryptography and network controls · Computer networks.

Security begins with one request crossing shared infrastructure. Fix the endpoint and the question before choosing a control.

Set the request boundary

Mira's client endpoint sends one application request to Atlas's service endpoint. An endpoint is a participant that sends or receives bytes, and the path can include shared infrastructure. Plain HTTP gives the request application meaning through a method, target, headers and body without a TLS channel. HTTPS uses a protected connection for HTTP communication. In the ordinary authenticated case, the client checks the server's identity and the connection protects application content against on-path reading or modification. That does not authorize a resource action or keep a service available. The Application module is optional context here: HTTP messages and the HTTPS protection boundary can expand the request and channel trace without being a hard prerequisite.

Security begins when you ask what can go wrong along that path. Someone may read the bytes, alter the request, pretend to be a participant, exhaust a service or use a weak boundary to run an unintended action. Those capabilities overlap, but they do not produce the same failure or need the same control.

Start with one request and three questions

Three security questions frame one request

Read the steps as text

  1. Mira sends a payment request to Atlas. The trace names read, change and reach as separate questions before controls are selected.
  2. A passive observer reads the request without changing it, exposing confidentiality.
  3. The on-path actor now changes the amount while the request still reaches Atlas. The changed value supplies a new case for the change question.
  4. The actor exhausts a bounded service resource without changing the request bytes. This applies the reach question to a different capability.
  5. Identity evidence, a resource-specific authorization decision and an activity record occupy separate policy rows. A valid identity alone does not grant every resource.
  6. The device posture changes while user identity remains valid. The policy can narrow access or quarantine the device without rewriting the identity row.
  7. Defense in depth combines distinct controls and least privilege limits each accepted action. The next lesson owns primitive boundaries rather than packet mechanics.

Imagine Mira sends Atlas a payment request. The request crosses shared infrastructure, so an observer can see traffic, an on-path actor can try to change it, and a flood can compete with legitimate work. Before naming a technology, ask three questions.

Confidentiality asks who may read the request. Encryption can make the content unreadable to an observer, but it does not decide whether the receiving account is allowed to perform the operation. Integrity asks whether the request that arrives is the request Mira sent. A message can remain secret while an attacker changes it if the protocol has no tamper check. Availability asks whether an authorized user can obtain a timely service. A perfect integrity check is not useful while every request is dropped by an exhausted service.

Name the capability before the attack

Threats are capabilities at different boundaries

Read the steps as text

  1. The bounded path contains an observer, a client, a service and a compromised host. Each threat is described by what the actor can do.
  2. A passive observer reads a request but does not rewrite it. The capability label is now visible.
  3. The same path shows a modified request. This is a new application of the capability vocabulary.
  4. Availability pressure can be a flood, protocol or state exhaustion, or expensive application work. Controls act at their causal point.
  5. A compromised host adds execute and lateral-movement boundaries. HSTS and browser policy remain an HTTP owner handoff rather than a duplicate trace.
  6. No single denial-of-service control covers every capability. The next security scene narrows from threat capability to policy roles.

Many labels describe the same underlying capability. Packet sniffing is an observation problem. Tampering is a change problem. Spoofing and a forged credential are identity problems. Malware can execute an unwanted program, ransomware can deny access to data, and command-and-control can keep a compromised host receiving instructions. Lateral movement is the next boundary a compromised identity or host reaches. The useful first move is to locate the capability in the path: what did the actor see, change, block or cause to execute?

Availability attacks also have different causal shapes. A volumetric flood consumes link capacity, a protocol or state-exhaustion attack consumes connection or device tables, and an application-layer flood consumes expensive request work. Rate limiting, state limits, WAF rules, upstream scrubbing and capacity planning address different points in those paths; none is a universal DoS control.

Phishing and domain deception can make a user choose the wrong endpoint. A man-in-the-middle can alter a path when endpoint identity is not checked, and SSL stripping can try to keep a browser on HTTP after an initial link. HTTP Strict Transport Security (HSTS) belongs with the canonical HTTPS owner: this lesson names the threat and hands off the browser policy and HTTPS transition mechanics without duplicating the HTTP trace.

This framing keeps a firewall from becoming a magic word. A network filter can limit who reaches a service, but it cannot repair unsafe application logic. A WAF can inspect a visible web request, but it cannot prove that the application's response is correct. Defense in depth means several controls cover different failure modes while least privilege reduces what a successful compromise can reach.

Three jobs at an access gate

AAA roles and posture policy remain separate

Read the steps as text

  1. The service receives identity evidence without granting a resource. Authentication answers an identity question; authorization and accounting remain separate rows.
  2. The service evaluates a resource-specific policy after identity evidence. The request is still waiting for the policy outcome.
  3. The service appends an activity record after the decision. This new event records what happened rather than granting another resource.
  4. Device posture is checked while the user identity remains valid. The policy now has a separate context to apply.
  5. The policy routes the request to limited access. Cryptographic evidence may support a policy input, but it does not itself choose the resource action.
  6. AAA remains a set of distinct questions. Packet mechanics and vendor-specific exchange details belong to later owners.

AAA gives the gate three separate records. Authentication is identity evidence: a password, certificate, token or other authenticator is checked for a claimant. Authorization is a policy decision about a resource and an action. Accounting records what happened so operators can investigate and learn from the event. The same identity can be authorized for one resource and denied for another. A log can record a denied request, but the log did not authorize it.

The order is policy-specific. In a simple web login, the service may authenticate a user and then look up a role. In a network-access system, an authenticator can consult an AAA service while device posture and resource policy contribute separate inputs. Avoid turning the convenient login sequence into a universal law: authorization can depend on a device, a service identity, a time window or a resource attribute before a human identity is fully established.

Let posture change the result

Suppose Mira's credentials are valid, but her device has a missing update or an untrusted configuration. A policy may grant full access, a limited repair portal, a quarantine network or no access. The identity evidence did not become false; the context for the requested resource changed. Accounting should record the decision and its reason without claiming that the posture check proved the device safe forever.

That is the bridge to later lessons. Cryptography supplies evidence about bytes and key possession. Certificates bind key material to a service name under a trust policy. Firewalls and IDPS observe different slices of traffic. A zero-trust design combines those signals at a resource decision. Each control keeps its own question.

Faded transfer scenario

Security questions hand off at the policy boundary

Read the steps as text

  1. Account-7 presents valid identity for report.pdf and admin.cfg; the review also records a later device-posture change before any outcome is chosen.
  2. The same account may read report.pdf because its viewer role authorizes that resource action.
  3. The viewer identity remains valid, but authorization denies an edit to admin.cfg because the role excludes that action.
  4. After the device posture changes, policy redirects the valid account to a limited recovery path and accounting records all three outcomes.
  5. The account identity, resource authorization, device posture, recovery path and accounting record answer different questions at the boundary.

A document service receives three requests from the same account. The first reads a document the account may view. The second attempts to edit a document outside the account's role. The third arrives after the device posture changes. The first request passes authorization, the second is denied by resource policy, and the third is redirected to a limited recovery path. Accounting records all three outcomes. The account's authentication result alone cannot explain them.

Recap

  • CIA separates reading, changing and reaching a service.
  • Authentication, authorization and accounting provide identity evidence, policy outcome and traceability.
  • Device context and least privilege can narrow access after identity evidence succeeds.
Boundaries to carry forward

NAC is a control overview here. The link and wireless module owns 802.1X, WPA association and airtime mechanics. DNSSEC and encrypted resolver transports stay with the DNS owner. This module names those handoffs so a later scene does not silently claim their protocol details.

Check the three questions in the quiz, then continue to Choose the primitive that answers the question. Practise the identity-to-policy lookup in Hash Map Fundamentals, keeping the data-structure lookup separate from the security decision.