Network Diagrams
& Data Flows
Learn to read, interpret, and analyze network topologies and data flow diagrams used in cybersecurity to map how information travels across systems.
What Is a Network Diagram?
A network diagram is a visual representation of how devices, servers, and services are connected within a computer network. It shows the physical or logical layout of nodes and the communication paths between them.
Why They Matter in Cybersecurity
Core Vocabulary
Physical vs Logical Diagrams
| Physical Diagram | Logical Diagram | |
|---|---|---|
| Shows | Actual hardware & cabling | IP addressing & data paths |
| Focus | Where devices are located | How devices communicate |
| Includes | Rack positions, cable types | Subnets, VLANs, protocols |
| Used for | Installation & maintenance | Security analysis & monitoring |
Common Network Topologies
What Is a Data Flow Diagram?
A Data Flow Diagram (DFD) maps how data moves through a system. Unlike network diagrams that focus on devices and connections, DFDs focus on processes, data stores, and external entities.
A Simple DFD in Action
Trust Boundaries & Security Zones
Network Diagram vs DFD
| Network Diagram | Data Flow Diagram | |
|---|---|---|
| Focus | Devices & connections | Processes & data movement |
| Shows | Routers, switches, PCs | Processes, data stores, entities |
| Arrows mean | Physical/logical links | Data flowing between components |
| Security use | Perimeter defense, segmentation | Threat modeling (e.g., STRIDE) |
| Example tool | Visio, draw.io, Nmap | Microsoft TMT, OWASP DFD |
How to Read a Network Diagram
Example 1: Simple Office Network
Example 2: Tracing a Data Flow
Example 3: Identifying Vulnerabilities
Common Mistakes
Summary: Key Diagram Elements
| Element | Symbol | Security Relevance |
|---|---|---|
| Firewall | Box with "FW" | Controls traffic between zones |
| Router | Circle or labeled box | Routes traffic, potential chokepoint |
| Switch | Rectangle with ports | Segments LAN, VLANs |
| Trust Boundary | Dashed line | Separates security zones |
| Data Flow Arrow | Labeled arrow | Shows protocol, encryption status |
| Data Store | Parallel lines (DFD) | High-value target for attackers |
Question 1 of 5
In a network diagram, what does a dashed line enclosing a group of devices typically represent?
Question 2 of 5
Which of the following is shown on a Data Flow Diagram but NOT on a typical network diagram?
Question 3 of 5
A network diagram shows a single switch connecting all office computers to the router. If the switch fails, no device can access the network. What vulnerability does this illustrate?
Question 4 of 5
On a data flow diagram, you see an arrow labeled "\(HTTP\)" going from a user's browser to a web server, but the arrow is NOT labeled \(HTTPS\). What security concern does this raise?
Question 5 of 5
In a network diagram, a DMZ (Demilitarized Zone) is placed between which two areas?