These three controls work together to prevent, detect, and respond to cyber threats across the network and endpoints.
A firewall is a security device or software that controls incoming and outgoing network traffic based on predefined security rules.
Think of it as the gatekeeper between trusted and untrusted networks.



An IDS monitors network or system activity to detect suspicious or malicious behavior and generate alerts.
It is passive — it does not block traffic.



An IPS actively blocks or prevents detected malicious traffic in real time.
Unlike IDS, IPS is inline with network traffic.



| Feature | IDS | IPS |
|---|---|---|
| Detects threats | Yes | Yes |
| Blocks traffic | No | Yes |
| Inline | No | Yes |
| Risk of disruption | Low | Higher |
Endpoint protection secures individual devices such as:



| Layer | Tool | Purpose |
|---|---|---|
| Network perimeter | Firewall | Allow/deny traffic |
| Network monitoring | IDS | Detect suspicious activity |
| Active defense | IPS | Block attacks in real time |
| Endpoint | EPP / EDR | Detect, respond, investigate |
Together they provide defense in depth.
During an incident: