Cybersecurity Fundamentals series — Part 2. This post continues Part 1: A Complete Beginner’s Guide. Each post in the series takes one topic and covers it in depth. This one covers security controls: the safeguards that prevent, detect, and recover from attacks.
A security control is any safeguard that reduces risk. Controls are classified two ways: by category (who or what carries the control out: technical, managerial, operational, or physical) and by type (what the control does: preventive, deterrent, detective, corrective, compensating, or directive).
Every security measure you have ever met is a control. A password is one. So is a lock on a door, a policy that says “report suspicious email,” a guard who checks badges, a firewall rule, and a nightly backup. They look very different, but they all do the same job: they lower the chance that something bad happens, or lower the damage when it does.
In Part 1, you got a short introduction to controls. This post goes deeper. You will learn the vocabulary that security professionals use, see how the categories and types fit together in one table, and walk through a real incident to watch several controls work as a team.
Why Controls Matter
No single measure stops every attack. Controls work in layers, an idea called defense in depth. If one layer fails, another can still protect you.
It also helps to think about when a control acts:
- Before an incident, controls try to stop it or discourage it.
- During an incident, controls notice what is happening and raise the alarm.
- After an incident, controls limit the damage and restore normal operations.
A well-built security program has controls for all three moments, and for all the places an organization needs protection: data, computers, networks, buildings, and people.
Two Ways to Classify Controls
Security controls are described with two separate labels, and it is easy to mix them up:
- The category tells you who or what implements the control.
- The type tells you what the control does.
Every control has one of each. A firewall rule, for example, is a technical control (category) that is preventive (type). A guard walking the building at night is an operational control (category) that is detective (type).
A note on words: this post uses the terms category and type as they appear in the CompTIA Security+ exam objectives. Other books and frameworks use slightly different names. In Part 1, for example, the table “by type” (technical, administrative, physical) is what this post calls categories, and the table “by function” is what this post calls types. The ideas are the same.
The Four Control Categories
Technical Controls
Technical controls are carried out by hardware or software. A computer system enforces the rule, without a person having to remember to do anything.
Examples:
- Firewalls and network filtering
- Operating system settings that allow or block actions
- Antivirus and endpoint protection software
- Encryption, multi-factor authentication, and access control lists
- Automated backups and log collection
Managerial Controls
Managerial controls (also called administrative controls) are the rules and direction an organization sets. They are usually written down and apply to how people and systems are managed.
Examples:
- Security policies and standard operating procedures
- Onboarding and offboarding procedures
- Risk assessments and audits
- Background checks
- Incident response plans
Operational Controls
Operational controls are carried out by people in their daily work, rather than by technology. They turn a policy into an everyday habit.
Examples:
- Security guards and front-desk staff who check visitors
- Security awareness training and phishing simulations
- Regular reviews of who has access to what
- Posters and reminders about secure behavior
Physical Controls
Physical controls limit access to real-world places and objects: buildings, rooms, equipment, and people.
Examples:
- Locks, fences, and gates
- Badge readers and security cameras
- Guard booths and visitor logs
- Fire suppression systems and backup generators
Where Categories Overlap
The boundaries between categories are not always sharp. Security awareness training is a good example: a policy requires it (managerial), people deliver and attend it (operational), and sometimes software tracks completion (technical). Different books place some controls in different categories. What matters is that you understand who or what makes the control work, and that your organization covers all four categories.
The Six Control Types
Preventive Controls
A preventive control stops an event before it happens by limiting access or blocking an action. This is the most familiar kind of control.
- A firewall rule that blocks unwanted traffic
- A lock on a door
- Multi-factor authentication
- An onboarding policy that gives new employees only the access they need
Deterrent Controls
A deterrent control discourages an attacker. It may not block anything, but it makes someone think twice.
- A warning banner that appears when someone logs in, stating that access is monitored and unauthorized use is prohibited
- A policy that spells out discipline for misuse
- Visible security cameras and “this area is monitored” signs
- A staffed front desk that greets and notes every visitor
Deterrents work on behavior. They can persuade a casual or opportunistic person, but they will not stop a determined attacker.
Detective Controls
A detective control identifies that something happened or is happening, and often raises an alert. It does not necessarily stop it.
- Collecting and reviewing system logs
- Intrusion detection alerts
- A regular review of login reports
- Security guards on patrol
- Motion detectors and recorded camera footage
Without detective controls, an attack can go unnoticed for weeks. That delay is expensive: the longer an attacker stays inside, the more they can take.
Corrective Controls
A corrective control acts after an event has been detected. It reverses or limits the impact and helps normal operations continue.
- Wiping an infected computer and restoring it from a clean backup
- Applying a patch after a vulnerability is exploited
- An incident response plan that tells people what to do next
- Calling law enforcement after a break-in
- A fire extinguisher or sprinkler system that stops a fire from spreading
For more on recovery, see what disaster recovery is.
Compensating Controls
A compensating control is a substitute used when the ideal control cannot be applied, or when the damage cannot be fully reversed. It is usually a temporary measure while a proper fix is planned.
- A vulnerable application cannot be patched for another month, so a firewall rule blocks the traffic that could exploit it.
- Separation of duties, so no single person has complete control over a sensitive process.
- A requirement that two staff members be present together, so no one person holds all the access.
- A backup generator, which keeps systems running during a power outage.
A compensating control is not a permanent excuse. It buys time, and the underlying problem should still be fixed.
Directive Controls
A directive control tells people what they are supposed to do. It guides people toward the secure choice.
- A compliance policy and its procedures
- Security training that teaches people how to handle sensitive data
- A rule that sensitive files must be saved in an encrypted folder
- An “authorized personnel only” sign on an unlocked door
Directive controls are generally considered the weakest, because they depend on people making the right choice and often have no way to enforce it. They are still valuable, since many incidents start with someone who simply did not know the rule. Good programs pair directive controls with preventive or detective ones that back them up.
The Matrix: Categories and Types Together
Because every control has both a category and a type, you can lay them out in a grid. Each cell below shows one example. There are many other possible examples in every cell.
| Technical | Managerial | Operational | Physical | |
|---|---|---|---|---|
| Preventive | Firewall rule, MFA | Onboarding and access policy | Guard checking ID at the entrance | Door lock, badge reader |
| Deterrent | Login warning banner | Policy stating discipline for misuse | Staffed reception desk | Warning signs, visible cameras |
| Detective | Log review, intrusion alerts | Required periodic review of access and login reports | Guard patrols | Motion detector |
| Corrective | Restore from backup | Incident response plan | Calling law enforcement | Fire extinguisher |
| Compensating | Firewall rule instead of an unavailable patch | Separation of duties | Two staff required together | Backup generator |
| Directive | Rule requiring files in an encrypted folder | Compliance policy | Security awareness training | “Authorized personnel only” sign |
Notice a few things:
- The same goal can be reached with different categories. To stop unauthorized entry, you can use a technical control (a login), a physical one (a lock), or an operational one (a guard).
- One real measure can serve more than one type. A visible security camera deters, detects, and creates evidence for a later investigation.
- The cells are examples, not rules. Classify a control by what it is for in your situation.
A Real Scenario: Ransomware at a Small Business
Imagine a small accounting firm. Here is how controls could play out when a staff member receives a phishing email containing ransomware.
Before the attack
- Preventive, technical: an email filter blocks most phishing messages, and multi-factor authentication limits what a stolen password can do.
- Directive, managerial: a written policy says staff must never open unexpected attachments and must report suspicious email.
- Directive, operational: training and phishing simulations teach people how to spot a bad message.
- Deterrent, managerial: the policy states that deliberately disabling security software leads to discipline.
During the attack
- Detective, technical: endpoint protection spots the file encrypting behavior and alerts the IT contractor.
- Detective, operational: the staff member notices something is wrong and reports it right away, as trained.
After the attack
- Corrective, technical: the infected computer is wiped and restored from a clean backup.
- Corrective, managerial: the incident response plan guides who to call, what to document, and when to tell clients.
- Compensating, technical: one old accounting application cannot be updated yet, so the firm isolates it on a separate network segment until a replacement is ready.
No single control carried the weight. The email filter stopped most of the threat, the training caught what slipped through, the alert limited the spread, and the backup made recovery possible. That is defense in depth. For more on this threat, see what ransomware is and how to prevent it and malware basics.
How to Choose Controls
You cannot protect everything against everything, so controls are chosen based on risk.
- Know what you protect. List your important data, systems, and places.
- Know what can go wrong. Think about threats such as cyber attacks, theft, and human error, and how likely and how damaging they are.
- Cover all three moments. For each important risk, check that you have something to prevent it, detect it, and recover from it.
- Use layers. Combine categories, so a failure in one does not leave you exposed.
- Balance cost and usability. A control that is too expensive or too annoying gets switched off or worked around.
- Write it down and review it. Controls drift over time. Review them regularly and after any incident.
You do not have to invent a control list from scratch. Frameworks such as the NIST publications, ISO/IEC 27001, and the CIS Critical Security Controls provide catalogs of recommended controls that you can adapt to your size and risks. Part 1 introduced these frameworks briefly.
Practice: Classify These Controls
Try to name the category and the type of each control before you read the answer.
- A badge reader on the server room door.
- A rule that access to the finance system must be reviewed every quarter.
- Restoring files from last night’s backup after ransomware.
- A guard who walks the building at night.
- A firewall rule that blocks a vulnerable service because the vendor’s patch is weeks away.
- A sign that says “Authorized personnel only” on a door that is not locked.
Answers
- Physical, preventive.
- Managerial, detective (the review finds access that should not exist).
- Technical, corrective.
- Operational, detective (it also deters).
- Technical, compensating.
- Physical, directive.
If you chose a slightly different answer for some of these, that is fine. Many controls fit more than one label. What matters is that you can explain your reasoning.
Common Misunderstandings
- “Security means technology.” Technical controls are only one of four categories. Many breaches are caused by missing policies, untrained people, or unlocked doors.
- “Prevention is enough.” Some attacks will get through. Detection and recovery decide how much they cost you.
- “A policy protects us.” A policy is a directive control. Without enforcement, training, or monitoring, it only tells people what to do.
- “A compensating control fixes the problem.” It reduces the risk for now. The real fix is still needed.
- “Each control has exactly one label.” Controls often play several roles, and different sources classify some of them differently.
Quick Summary
- A security control is any safeguard that reduces risk.
- The four categories say who or what implements it: technical, managerial, operational, physical.
- The six types say what it does: preventive, deterrent, detective, corrective, compensating, directive.
- Strong security uses layers: controls from several categories and types, covering before, during, and after an incident.
- Choose controls based on risk, and review them regularly.
What’s Next in This Series
You now have the vocabulary for talking about security measures. Upcoming posts in the Cybersecurity Fundamentals series will take the topics from Part 1, such as authentication and access control, encryption, network and web security, and incident response, and explore each in depth. In the meantime, look at your own home or workplace and try to name three controls you already have, with their category and type.
To go further, Professor Messer offers a free video lesson on the same topic, as part of CompTIA Security+ SY0-701 exam training: Security Controls. If you are considering a certification, see the benefits of IT certifications.
Conclusion
Security controls are the tools of cybersecurity. Sorting them into categories (technical, managerial, operational, physical) and types (preventive, deterrent, detective, corrective, compensating, directive) gives you a map for spotting gaps: do you only prevent, but never detect? Do you have policies but no training? Do you have a plan for recovery? The goal is not to collect as many controls as possible, but to build a balanced set, layered so that no single failure leaves you exposed.
Next in the Cybersecurity Fundamentals series: The CIA Triad Explained: Confidentiality, Integrity, Availability, the three goals behind nearly every security decision.
Cybersecurity Fundamentals series: Part 1: A Complete Beginner’s Guide · Part 2: Security Controls · Part 3: The CIA Triad · Part 4: Non-Repudiation · Part 5: Authentication, Authorization, and Accounting · Part 6: Gap Analysis · Part 7: Zero Trust · Part 8: Physical Security · Part 9: Deception and Disruption
