liveBook · Manning

Network configuration

As explained in Secure APIs

Network configuration consists of the settings that determine how networked components communicate and are exposed or isolated.

Network configuration consists of the settings that determine how networked components communicate, and whether those components are exposed or isolated. It belongs to the infrastructure side of API security, alongside design, implementation, and configuration management. section 1.1

Network segmentation reduces the blast radius between components with different risk profiles by dividing a network into isolated subnets. A user service and an admin service should not have the same exposure: an SSRF flaw in the user service could otherwise help an attacker send requests toward internal services. section 1.1

Internal application exposed to the internet

An application intended only for employees and suppliers was accessible to anyone on the internet. That exposure represented a wrong network configuration and qualified as a security misconfiguration breach. Secure deployment practices, Infrastructure as Code, and repeatable pipelines help prevent such accidental exposure. section 5.4

Use these checks to reduce configuration-related risk:

  • Isolate services according to their risk and sensitivity. section 1.1
  • Apply secure configuration consistently with Infrastructure as Code and automated, repeatable deployment pipelines. section 5.4
  • Run smoke tests after every deployment to detect common misconfigurations. section 5.4

How Secure APIs covers it

How deep it goes
Explains network segmentation and deployment safeguards, but defers detailed networking and security treatment.
Examples
Uses user and admin services, an avatar-download endpoint, and an internal application accidentally exposed to the internet.
What you can do after
Operate/configure deployments with segmentation, Infrastructure as Code, repeatable pipelines, and post-deployment smoke tests.
How it connects
Connects API security with network segmentation, SSRF, and security misconfiguration.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Secure APIs. The section links point to the parts of the book it draws on.