- Learn
- Computer Science & IT
- Cybersecurity
- Cybersecurity Fundamentals
- Security Principles
Security Principles
BeginnerLesson 1 of 8 in Cybersecurity Fundamentals Course
What you will learn
- Describe confidentiality, integrity and availability, recognize which of them an incident harms, and weigh them against each other when protecting real systems.
- Define confidentiality, integrity and availabilityState what each part of the CIA triad means, what threatens it and which common measures protect it.
- Analyze incidents and trade-offs with the CIA triadName every property an incident affects, decide which property matters most for a given system, and explain how strengthening one property can weaken another.
- Define confidentiality, integrity and availability
- Explain how systems identify and authenticate users and devices, decide what they may do, record what they did and prove who performed an action.
- Identify and authenticate people and systemsDistinguish identification from authentication, use the authentication factors correctly, and explain how devices and services prove their identity.
- Authorize actions and account for activityExplain how a system decides what an authenticated subject may do and how accounting records what it actually did, and follow the AAA steps through a real sign-in.
- Establish accountability and non-repudiationExplain how unique identities and trustworthy records hold people responsible for their actions, and how non-repudiation stops someone from credibly denying an action.
- Identify and authenticate people and systems
- Build protection from several independent layers, and give every user, program and device only the access its task requires.
- Layer security controls with defense in depthExplain why several different layers protect better than one strong barrier, and trace an attack through the layers that can stop, detect or recover from it.
- Limit access with least privilege and separation of dutiesGrant users, services and devices only the rights their tasks require, keep those rights current, and split sensitive tasks so no one person can complete them alone.
- Layer security controls with defense in depth
- Explain why zero trust removes trust based on network location, and describe the components and signals a zero trust architecture uses to grant, limit or end access.
- Explain the principles of zero trustCompare zero trust with the traditional perimeter model and state its core principles in plain words.
- Describe how a zero trust architecture decides on accessName the components that make and enforce access decisions, the signals they use, and how they shrink trust zones and re-check access during a session.
- Explain the principles of zero trust
- Explain how barriers, surveillance, entry controls and environmental protections keep unauthorized people away from sites and equipment, and how intruders try to get past them.
- Protect sites and perimetersDescribe the outer layers of physical security, from fences and bollards to lighting, cameras, guards and intrusion sensors.
- Control entry to buildings and secure areasExplain how locks, badges, vestibules, visitor procedures and environmental protections control who enters, keep records of entry and protect equipment.
- Protect sites and perimeters
- Sort any security measure by how it is implemented (category) and by what it does in relation to an incident (type), and use both views to choose a balanced set of controls.
- Sort controls into categoriesDefine a security control and classify controls as technical, managerial, operational or physical, including how the three-category scheme maps onto the four-category one.
- Identify control types by functionClassify controls as preventive, deterrent, detective, corrective, compensating or directive according to what they do before, during or after an incident.
- Classify and combine controls in scenariosClassify a control by category and type together, read scenario wording correctly, and assemble a set of controls that covers prevention, detection and correction.
- Sort controls into categories
Security Principles study guide
1What security protects
A security incident can expose a secret, change a trusted record, or stop a service people need. These are different kinds of harm, and they need different protections. The confidentiality, integrity and availability triad gives you a clear way to describe them. Use it to examine an incident one effect at a time, choose controls that address the harm, and explain why the right balance depends on what a system is used for.
1.1 Confidentiality, integrity and availability
Information security protects information and the systems that store, process and transmit it. The CIA triad names its three core goals: confidentiality, integrity and availability. These goals apply to paper records and devices as well as to online services.
Three different questions
| Property | What must be protected? | Typical protections |
|---|---|---|
| Confidentiality | Disclosure only to authorized people, processes and devices | Permissions, encryption, classification and labels, privacy screen filters |
| Integrity | Protection against improper change or destruction | Write permissions, change approval, input validation, hashes, signatures, version history |
| Availability | Timely and reliable access for authorized users | Redundancy, backups, power protection, patching, capacity planning |
Confidentiality fails when information reaches someone who is not allowed to see it. A misaddressed email can cause this even without an attacker. Someone reading a screen over a colleague's shoulder is another example, called shoulder surfing.
Integrity means information remains accurate, complete and trustworthy because improper changes and destruction are prevented or detected and repaired. A faulty script that overwrites every product price is an integrity problem even if no one intended harm. In its broad sense, integrity includes authenticity: confidence that information comes from its claimed source. A hash helps reveal change; a digital signature also supports evidence of origin.
Availability concerns legitimate use. Spare servers and network links provide redundancy: another component can take over when one fails. RAID disk arrays can keep storage working through some disk failures. Backups provide recoverable copies after data loss. An uninterruptible power supply (UPS) supplies short-term power, while a generator can support a longer interruption. A denial-of-service attack, a hardware failure and shutting down the wrong server can all make a system unavailable.
Follow the harm
Consider a clinic's patient records. First, a stolen unencrypted laptop exposes copies of the records: confidentiality is harmed. Next, an attacker changes a blood type from "A+" to "O−": integrity is harmed, with a possible effect on treatment. Finally, ransomware locks the record system for six hours: availability is harmed because staff cannot use it.
The memory aid DAD describes the failures: disclosure, alteration, and destruction or denial. Ask, "Was information seen, changed, or made unreachable?" A single event can produce more than one answer.
Privacy and the limits of encryption
Privacy concerns personal information and its fair collection, use and sharing for stated purposes. Confidentiality also protects nonpersonal secrets such as source code. An organization can keep a personal-data file secret while still collecting far more data than its task needs; confidentiality alone does not settle privacy.
Encryption mainly protects confidentiality. It does not make a wrong value correct, and an attacker may still delete encrypted files. Protect the property that is actually threatened.
Key Takeaways
- Confidentiality controls disclosure to authorized subjects.
- Integrity protects against improper change and destruction, including accidental damage.
- Availability means timely, reliable access for authorized users.
- Privacy also concerns how personal information is collected and used.
- Encryption mainly addresses confidentiality; it does not solve every CIA problem.
1.2 Reading incidents and balancing needs
Analyze each event in an incident separately: information may be disclosed, improperly changed and made unreachable during the same attack.
Separate the events
A web shop reports: "An attacker downloaded 20,000 customer addresses, changed the bank account number on the payment page, and the shop took its site offline for a day to investigate."
- Downloading the addresses harms confidentiality through unauthorized disclosure.
- Changing the payment account harms integrity because customers now receive incorrect payment instructions.
- The shutdown harms availability because authorized customers and staff cannot use the shop. A sensible containment decision can still cause an outage.
Ransomware that locks files harms availability. When attackers also copy the files, confidentiality is harmed too. Examine the events before attributing both effects to a particular incident.
Match priorities to purpose
| System | Main protection needs |
|---|---|
| Public opening-hours page | Integrity keeps the hours correct; availability lets visitors read them. The published hours need little confidentiality. |
| Payroll system | Confidentiality protects personal pay details; integrity keeps salaries and payment instructions correct. |
| Patient monitor or industrial controller | Availability and integrity support timely, correct operation where failures can endanger people. |
Work through a trade-off
Suppose staff must type a full password after every 5 minutes of inactivity. This protects unattended sessions but interrupts work. Some staff may write passwords on notes or use unsafe tricks to keep sessions open.
A short screen-lock timeout with a quick fingerprint or PIN unlock protects unattended screens with less disruption. The design must account for protection, legitimate work, cost and usability.
Extra copies create a different trade-off: they improve availability after a failure, but each copy also needs confidentiality protection.
A leak is not an availability success because information "became available" to an attacker. Availability concerns authorized users; disclosure to unauthorized people is a confidentiality loss.
Key Takeaways
- Check confidentiality, integrity and availability separately for each incident.
- A deliberate containment shutdown still reduces availability.
- System purpose determines the relative importance of each property.
- Extra restrictions and extra copies can create trade-offs.
2Who can act, and how we know
Access involves several decisions: whose identity is being claimed, what evidence supports it, what that subject may do, and what activity is recorded. Keeping these decisions distinct helps explain why a successful login is only part of security. Individual identities and protected records make actions traceable. When an action may later be disputed, digital signatures and sound control of signing keys strengthen the evidence.
2.1 Claims, proof and authentication factors
Typing a username starts a claim; it does not prove who is at the keyboard. Security systems separate that claim from the evidence used to check it.
Identify, then authenticate
A subject is anything requesting access: a person, device, service or program. Identification names the subject, such as by entering an employee number. Authentication verifies the claimed identity using evidence the genuine subject should be able to provide. Authorization then decides what that identity may do.
| Factor | Meaning | Examples |
|---|---|---|
| Something you know | A secret remembered by the subject | Password, PIN, security-question answer |
| Something you have | A possession used as evidence | Authenticator phone, hardware security key, smart card |
| Something you are | A measured personal characteristic | Fingerprint, face, iris |
Location, sometimes called "somewhere you are," and behavior, sometimes called "something you do," can add context. A request's country or a user's typing rhythm can affect a decision. These attributes are commonly extra signals alongside other factors.
Count categories, not screens
Multifactor authentication (MFA) combines at least two different factor categories. A password and an authenticator-app code combine knowledge and possession. A password and a PIN are both knowledge, even if entered on separate screens. Two secrets do not become two categories because the service asks twice.
Maria signs in to company webmail. Entering "maria.lopez" identifies her. Her password supplies something she knows. Approving the sign-in on her registered phone supplies something she has. An attacker with only her password is stopped at the possession check in this example.
The strength of the evidence matters too. Reused passwords, text-message codes and phishing-resistant hardware keys offer different assurance. The label "MFA" tells you that categories are combined; it does not make every implementation equally strong.
Devices and services have identities
A web server uses a digital certificate to prove its identity to a browser. A company laptop can present a device certificate before network admission. A service can present an API key or token when calling another service. Mutual authentication means both sides authenticate to each other, as when client and server each present a certificate. Human passwords are only one form of authentication evidence.
Biometric checks can make errors
Biometric matching compares a new sample with a stored reference using a similarity threshold. A false acceptance admits an impostor; a false rejection refuses the real user. Tightening the threshold can reduce false acceptance while increasing false rejection. The setting therefore affects both protection and legitimate access.
A fingerprint check authenticates an identity. It does not decide that the person may approve payments or administer a server. Those permissions belong to the next decision.
Key Takeaways
- Identification claims an identity; authentication checks it.
- MFA combines different factor categories, not merely two credentials.
- Devices and services authenticate as well as people.
- Mutual authentication checks both sides.
- Biometric thresholds trade false acceptance against false rejection.
- Authentication does not grant every permission.
2.2 Permissions and trustworthy activity records
Once a subject is authenticated, the system still needs to decide which actions it may perform. It also needs a record of what actually happened. These are the authorization and accounting parts of AAA.
Three jobs in AAA
| Function | Question answered | Example |
|---|---|---|
| Authentication | Who are you? | Check a password and authenticator code |
| Authorization | What may you do? | Allow reading records but deny changing salaries |
| Accounting | What did you do? | Record session times and changes in an audit trail |
Authorization applies permissions to resources and actions, including read, write, delete, approve and administer. Roles or groups make this manageable: an "HR staff" role might read employee records, while an "HR manager" role can also change salaries. Policies can consider department, device or time as well. Implicit deny means a request is refused unless a rule explicitly allows it.
Accounting records actual activity. Logs can show identity, source, time, resources used, session duration and changes made. An audit trail lets an investigator follow a sequence of related actions. These records support troubleshooting, resource billing, detection of misuse and later investigation. A record does not itself block an action.
Trace a network session
A virtual private network (VPN) gives a remote subject a protected connection to a network. Organizations can centralize its AAA checks. RADIUS and TACACS+ are common protocols used to exchange AAA information with a central server; network switches and Wi-Fi access points can use central AAA too.
Network engineer Kim Chen connects to the company VPN. The AAA server checks her password and authenticator-app code. Her "network engineer" role permits the management network but not the finance file server, so access to finance is denied. Accounting records her VPN session and, through command accounting on managed equipment, the configuration commands she runs.
The session begins at 08:14:05 from documentation address 203.0.113.25 and ends at 09:02:40. Subtracting the start from the end gives 48 minutes 35 seconds. An address identifies a network source; it is not by itself proof of the person who used it.
Make records usable
Synchronize system clocks, for example using Network Time Protocol (NTP). Otherwise events on two machines may appear in the wrong order. Copy logs to a separate protected log server so an intruder controlling one machine cannot quietly erase all evidence there. Review the records or monitor them automatically; unread records cannot alert anyone.
Saying that a user was "authorized with a password" mixes two jobs. The password authenticates; the rules authorize. Likewise, collecting more logs does not repair permissions that allow too much access.
Key Takeaways
- Authorization controls allowed actions; accounting records actual actions.
- Roles and attributes help apply permissions, with implicit deny for requests not allowed.
- RADIUS and TACACS+ support centralized AAA.
- Synchronized, protected and reviewed logs support reliable investigation.
2.3 Tracing responsibility and proving an action
Strong evidence connects an action to an individual and to the exact content involved. The necessary links differ between tracing activity and resolving a disputed approval.
Accountability needs individual identities
Accountability means actions can be traced to the subject responsible. If five administrators share "admin," a deletion log identifies the account without distinguishing the five people. Use individual accounts with reliable authentication and protected activity records. For an unavoidable shared account, privileged access management can issue it to one named person at a time and record the checkout.
Accounting records activity; accountability uses the identity and evidence chain to trace responsibility.
Non-repudiation supports a disputed action
Non-repudiation provides assurance against a credible denial of an action. It combines proof of origin with evidence that the content has not changed. A signed receipt can also provide proof of delivery.
A digital signature is created with the signer's private key and checked with the matching public key. A valid signature supports who signed and the integrity of the signed content. Changing that content makes verification fail. Encryption hides content, while a hash reveals change; neither alone identifies who approved it.
Compare two payment approvals
A finance manager types "approved" in a spreadsheet everyone on the team can edit. When the amount is disputed, she can plausibly argue that someone else used the account or changed the amount after approval. The editable shared record cannot resolve those possibilities.
A stronger approval uses her smart-card signing key, unlocked with a PIN. The signature covers supplier, amount and date, and the system sends the event to a protected log server. Investigators can verify that exact approval; changing the signed amount invalidates the signature.
Private-key control matters. If another administrator has a copy, the manager can plausibly say that the administrator signed. A personal hardware token protected by a PIN supplies stronger evidence than a password that may be shared, guessed or stolen.
Key Takeaways
- Individual identities, authentication and protected records support accountability.
- Shared accounts weaken the link between an action and a person.
- A valid digital signature supports origin and content integrity.
- Private-key control affects how credible a later denial is.
- Encryption and a hash alone do not establish who signed.
3Layer defenses and limit access
A filter can miss a malicious message, a person can make a mistake, and an account can be stolen. Security design must still limit what happens next. Defense in depth combines layers that perform different jobs. Least privilege limits the reach of each identity, while access reviews keep that limit current. Splitting sensitive duties adds protection against misuse by someone who already has legitimate access.
3.1 Different layers, different jobs
Defense in depth combines several security layers so that other controls still protect an asset when one layer fails or is bypassed. Layers include people and procedures as well as equipment and software.
Follow protection from outside to inside
Policies and user training guide behavior. Physical controls protect the site and equipment. At the network perimeter, a firewall filters traffic according to rules and an email filter screens messages. Internal network segmentation separates systems into areas with restricted connections. Intrusion detection identifies suspicious activity.
On an endpoint, such as a laptop or server, patching and endpoint protection reduce opportunities for compromise. Applications add authentication, input validation and secure coding. Data itself has permissions, encryption and recoverable backups. Monitoring and incident response connect these layers by identifying and handling failures.
Follow a malicious attachment
An email filter blocks most malicious messages. A missed message reaches a trained employee who may report it. If the employee opens the attachment, endpoint protection may stop the malware. If it runs, limited user permissions restrict changes, while segmentation keeps it away from finance servers. Monitoring alerts the team, and backups allow damaged files to be restored.
These are different jobs: prevention, containment, detection and restoration. Backups can help after damage without stopping the initial infection. An attack may still steal accessible files and cause serious harm while segmentation protects other systems. It does not have to defeat every layer to hurt the organization.
Understand the independence idea
Suppose three layers each stop 90% of a certain kind of attack and their failures are independent. Each misses 10%, so the fraction passing all three is:
That is 0.1% getting through, or 99.9% stopped. The calculation illustrates the benefit of independent layers. Real layers often share dependencies. One stolen administrator credential may unlock several systems, so their failures cannot be treated as independent.
Diversity reduces shared weaknesses. Controls with different mechanisms, or products from different vendors, are less likely to fail for the same reason. Two identical firewalls carrying the same mistake add little protection against that mistake. A firewall, endpoint protection and trained users provide different opportunities to interrupt an attack.
Choose depth that earns its cost
Each layer needs maintenance and can slow work or introduce a failure point. Select it for a real protective job. A design with only prevention has no reliable way to discover or repair a successful intrusion. Add detection and corrective capabilities as well.
A strong perimeter alone leaves a gap after an attacker gets inside. Hiding a design is also weak as the main protection: the secret can leak. Use tested controls that remain effective when an attacker understands the design.
Key Takeaways
- Defense in depth combines people, processes and technology.
- Layers can prevent, contain, detect or restore after an incident.
- Diverse layers reduce shared weaknesses.
- Multiplying failure rates requires independent failures.
- An attack can cause serious harm without defeating every layer.
- Each added layer needs a useful role and ongoing maintenance.
3.2 Enough access for the task
Least privilege gives each user, service, process and device only the access its assigned task requires. It limits damage from stolen accounts, misuse and mistakes while allowing the job to be completed.
Define the task before the rights
A helpdesk technician resets passwords and unlocks standard accounts. Give those permissions for standard users, without full directory administration. A stolen helpdesk account then cannot create administrators, reset administrators' passwords or change server settings.
Need to know limits access to particular information. A ward nurse may handle medical records but need only the records of patients on that ward.
A catalog-display application needs read access to the catalog table. A database-owner account would also expose unrelated data and allow changes the display task never needs. Restrict non-human identities as carefully as employee accounts.
Limit powerful access in time
Administrators should use a standard account for email and browsing and a separate privileged account for administrative work. Malware arriving through ordinary email then runs without those administrative rights.
Just-in-time access grants elevation for a limited approved period, such as 2 hours for a change, and removes it automatically afterward.
Old rights can accumulate as people change jobs: privilege creep. Regular access reviews, for example quarterly, compare permissions with current duties. Remove obsolete access after a role change or departure.
Split sensitive duties
Separation of duties divides a sensitive task so one person cannot complete it alone. One employee creates supplier records; a different employee approves payments. Neither can create a fake supplier and pay it alone.
Dual control, also called two-person integrity, requires two people to act together, such as separate keys or codes to open a safe. Reviewing a payment afterward can detect misuse, but does not divide the power to make it.
Removing access needed for the job causes delays and encourages unsafe workarounds. Set permissions from the actual task, then keep them aligned with changing duties.
Key Takeaways
- Least privilege applies to people, services, processes and devices.
- Need to know limits which specific information a task requires.
- Separate privileged work and use temporary elevation where appropriate.
- Access reviews remove privilege creep.
- Separation of duties prevents one person from completing a sensitive task alone.
4Verify access to each resource
Remote work, cloud applications and partner connections put useful resources beyond a single office network. A device being inside a firewall no longer gives a sound reason to trust its requests. Zero trust builds access around the subject, device, resource and current conditions. Its architecture separates the decision from the components that arrange and enforce it, so access can change when the evidence changes.
4.1 Zero trust principles in everyday language
In a traditional perimeter model, a firewall separates a trusted internal network from the internet. If being inside grants broad trust, an attacker with a compromised laptop or stolen VPN account can move between internal systems. This is lateral movement.
Cloud services, personal devices, remote workers and partners blur that boundary. Zero trust grants no automatic trust because of network location or ownership. Requests are authenticated, authorized and checked against policy before access is granted. A zero trust architecture is the organization's plan for putting these principles into practice.
Apply the principles to resources
NIST SP 800-207 describes seven tenets. In practical terms:
- Treat data sources and computing services as resources that need protection.
- Secure communication both inside and outside the organization.
- Grant access to a particular resource for a session; one approval does not open everything else.
- Make access decisions using dynamic policy, including identity, device condition and other relevant signals.
- Monitor the security posture of devices the organization owns or allows.
- Authenticate, authorize and re-evaluate access dynamically during use.
- Collect information about assets, traffic and requests to improve protection.
Assume breach means design as though an attacker may already be present. Least privilege restricts the resources and actions that a compromised identity can reach. Checking requests throughout use lets a new warning affect an existing session.
Compare an HR request
An employee's laptop requests the HR application while connected to the office network. A location-based design may allow broad internal access because the laptop is inside the perimeter after a morning login.
A zero trust design checks MFA, the user's HR permissions, and whether the laptop is managed, patched and encrypted. It opens access to the HR application only. A successful HR session does not authorize the finance system or every other internal resource. Being company-owned is useful information about the device, but is not automatic permission.
Develop the approach over time
The CISA Zero Trust Maturity Model organizes adoption into five pillars: identity, devices, networks, applications and workloads, and data. Visibility and analytics, automation and orchestration, and governance run across the pillars. Its maturity stages are traditional, initial, advanced and optimal.
The pillars help an organization coordinate work: identity checks alone cannot solve unmanaged devices or unprotected data. Adoption happens step by step through existing and new controls. Zero trust is an approach, not one product.
Verified subjects still receive access needed for their work. Firewalls remain useful as defense layers; what disappears is automatic broad trust behind them. A VPN that simply places a user inside a widely trusted network does not provide zero trust just because it requires a strong login.
Key Takeaways
- Zero trust removes automatic trust from location and ownership.
- Authenticate and authorize access to individual resources, then re-evaluate during use.
- Assume breach and least privilege limit the reach of compromise.
- Device posture and other signals inform dynamic policy.
- CISA organizes adoption across five pillars and shared capabilities.
- Firewalls can remain useful within a zero trust design.
4.2 From an access request to enforcement
A zero trust request connects a subject, such as a user or application, with a resource, such as patient records. Several logical components cooperate so the access decision can be made, applied and changed.
Keep the component jobs distinct
| Component | Job |
|---|---|
| Policy engine (PE) | Applies policy and signals to grant, deny or revoke access; logs the decision |
| Policy administrator (PA) | Arranges or ends the path, issues session credentials and instructs enforcement |
| Policy enforcement point (PEP) | Enables, monitors and terminates the connection between subject and resource |
The PE and PA together form the policy decision point (PDP). A PEP can be an application gateway or an agent on a laptop. They are logical roles; naming them helps you follow who decides and who carries out the result.
The control plane carries decisions and instructions between these components. The data plane carries actual application traffic through the PEP. A command to end access is control traffic; the record being read is application data.
Read the signals
The PE considers identity, authentication strength, role, device posture, location, time, behavior, threat intelligence and resource sensitivity. Device posture means security condition, such as management status, patches, disk encryption and endpoint protection. Adaptive identity changes required verification with risk: an unusual sign-in can trigger another MFA check or denial.
An implicit trust zone is the area behind an enforcement point where subjects receive the same level of trust. Smaller zones reduce the threat scope after compromise. Microsegmentation divides a network into small zones with their own access rules, helping prevent access to one area from opening many others.
Trace the hospital session
At 02:00, a nurse requests the patient-records application on a hospital-managed tablet. The PE checks the badge-and-PIN authentication, the "nurse, ward 4" role, the tablet's managed and updated state, and the hospital Wi-Fi source. It grants access to ward 4 records. The PA issues a session token and instructs the PEP gateway to open that session. Application traffic then passes through the PEP.
Later, endpoint protection reports malware on the tablet. The evidence supporting access has changed. The PE revokes the approval, the PA sends the instruction, and the PEP ends the connection. Re-evaluation can also occur when a time limit is reached, behavior changes, or another resource is requested.
A request from the nurse's unmanaged personal phone is denied under the hospital's policy. The identity can be valid while the device fails a separate access condition.
Locate a failure accurately
If a gateway keeps forwarding traffic after being told to close a session, enforcement has failed. If the policy evaluates unsafe device evidence incorrectly, examine the decision. Treating PE and PEP as interchangeable hides where a problem occurred. A strong morning sign-in does not remove the need to consider later evidence.
Key Takeaways
- The PE decides; the PA arranges access; the PEP enforces the result.
- PE and PA form the policy decision point.
- The control plane manages access; the data plane carries application traffic.
- Identity, device posture and changing context inform decisions.
- Small trust zones and microsegmentation limit reach.
- A session can be revoked when its supporting evidence changes.
5Protect sites, entry and equipment
Servers, disks and network equipment occupy real spaces. Someone who reaches them can steal data, connect a device or interrupt power, so physical security supports cybersecurity directly. Protection runs from the site boundary to secure rooms and locked racks. Entry checks, visitor routines and environmental controls cover different needs: who can get close to equipment, what evidence remains, and whether the equipment can keep operating.
5.1 Barriers, surveillance and intrusion detection
Physical security protects people, buildings, equipment and storage media from theft, unauthorized entry, tampering and damage. Physical access can bypass technical protection: an intruder may steal disks, connect a device or switch a server off.
Work from the perimeter inward
The site perimeter uses fences, gates and bollards. Building exteriors add locks, lighting and cameras. Reception and badge-controlled doors protect the interior. Server rooms, wiring closets, racks and cabinets form more restricted secure areas.
Fencing marks a boundary and delays intruders. Gates channel people and vehicles toward watched entry points. Bollards are short strong posts that block vehicles while leaving gaps for people to walk through. These barriers perform different jobs; a fence around a site does not secure an unlocked server rack inside it.
Make activity visible and actionable
Lighting helps guards and cameras observe entrances, parking areas and fence lines. It also deters intruders by increasing the chance of being seen. Video surveillance (CCTV) records evidence. Watched images or automatic alerts can detect an incident while it happens; visible cameras can also deter an attempt.
Cameras need suitable coverage, enough image detail to identify people and recordings retained long enough to investigate. A camera pointed at the main door leaves a gap if a loading bay is unwatched. Recording a break-in does not physically stop it. Someone must receive an alert or review the images and respond.
Guards add judgment: checking identities, managing visitors, patrolling and responding to alarms. Cameras extend what a guard can watch, while the guard can investigate what the cameras reveal.
Match sensors to what they measure
| Sensor | What triggers detection? |
|---|---|
| Infrared | Changes in heat radiation, such as a warm body moving through a room |
| Pressure | Weight or force, such as a person stepping on a sensor mat |
| Microwave | Movement changing reflections of emitted microwave signals |
| Ultrasonic | Movement changing returning echoes of high-frequency sound |
| Door or window contact | Opening the protected door or window |
A sensor detects a condition and triggers an alarm. It does not perform the same job as a barrier that delays entry. Its value depends on appropriate placement and an effective response.
Follow an intrusion
A small data center has a 2.4 m fence, a single vehicle gate, entrance bollards, lighting, cameras, a gate guard and infrared sensors in the server hall after hours. A person climbing the fence at night appears in a lit camera image. The guard is alerted and responds. If the intruder reaches the hall, motion detection gives another alarm opportunity.
Look for weak routes around the protection: side doors, roof access and loading areas matter as much as the front entrance. Several visible controls at one entrance do not repair an unprotected route elsewhere.
Key Takeaways
- Physical access can undermine information and system security.
- Layer the perimeter, exterior, interior and secure areas.
- Barriers delay or block; surveillance and sensors reveal activity.
- Camera coverage and response matter as much as recording.
- Infrared, pressure, microwave, ultrasonic and contact sensors detect different changes.
5.2 Individual entry and a safe operating environment
A strong boundary still needs controlled openings. Entry systems must check each person, while procedures handle visitors and protect equipment once people are inside.
Apply AAA at the door
Mechanical keys, combination locks, badges and biometric readers control entry. A badge supplies something a person has. Adding a PIN or fingerprint combines different authentication factors. Authorization then limits which rooms that identity may enter.
Electronic systems can log credential presentations and access decisions. A disabled badge can be refused immediately after loss or departure; a lost metal key can require changing the lock. An access log shows what the system checked, not proof that every person crossing the doorway authenticated.
Tailgating happens when an unauthorized person follows an authorized person through a controlled door without authenticating. Some sources call knowing assistance piggybacking; others use the terms interchangeably. The security failure is the same: one credential check admits more than the person checked.
An access control vestibule, formerly called a mantrap, has two interlocked doors. The next door opens only after the first closes, usually with another credential check. A vestibule designed for one-person passage prevents tailgating. Turnstiles and staffed reception also support individual entry. Lending a badge undermines accountability because the record names the badge holder instead of its actual user.
Manage visitors and secure areas
Visitors show identification, sign in, receive visible temporary badges, have escorts in non-public areas and sign out. The visitor log supplies accounting for people without permanent badges.
Server rooms need separate, short access lists. Locked racks and cabinets protect equipment within them. Cable locks help protect laptops in shared spaces. A clean desk policy keeps sensitive papers and removable media locked away, and screen locks protect unattended displays. Secure disposal removes readable information by shredding paper or wiping or destroying old drives.
Protect availability from the environment
Equipment also needs suitable fire detection and suppression, temperature and humidity control through HVAC (heating, ventilation and air conditioning), water-leak sensing and power protection. Clean-agent fire suppression can suit electronic equipment. Pre-action sprinklers fill their pipes only after fire detection. A UPS supports an interruption while a generator supplies longer-running power.
Imagine an employee holding a badge door for someone carrying delivery boxes. The unchecked visitor reaches a meeting room and connects a device. Individual entry controls and visitor checks address the access failure. Cameras can supply evidence, and disabling unused network ports adds a technical layer if physical entry fails.
Review secure-area rights after job changes. A former team member's working badge is excess permission even when the door mechanism works perfectly. Propped side or fire doors defeat entry control; use approved entry procedures and keep emergency escape routes usable.
Key Takeaways
- Each person must be checked; badge transactions do not prove every passage.
- Badge plus PIN or fingerprint combines authentication factors.
- Visitor identification, temporary badges, escorts and logs work together.
- Secure rooms and racks need their own access restrictions.
- Fire, water, climate and power controls protect equipment and availability.
- Review entry rights when duties change.
6Describe what a control is and does
A firewall rule, a written policy and a restoration routine all protect security in different ways. Classification makes those differences clear. Category describes how a control is implemented; type describes its function in relation to an incident. Use both axes together, then connect the control to the CIA property it protects. Reading the purpose in a scenario also helps reveal missing detection or restoration in a protection plan.
6.1 How controls are implemented
A security control, also called a safeguard or countermeasure, protects confidentiality, integrity or availability by reducing the likelihood or impact of an incident. Its category describes how it is implemented. Its type, taught next, describes what it does.
The four-category scheme
| Category | Main form | Examples |
|---|---|---|
| Technical, or logical | Hardware, software or firmware | Encryption, MFA, firewall rules, access control lists, endpoint protection |
| Managerial, or administrative | Decisions and documents that govern security | Policies, standards, classification rules, contract requirements, risk assessments |
| Operational | Day-to-day activities carried out mainly by people | Training, patrols, access reviews, testing backups, incident response routines |
| Physical, including environmental | Protection of physical space and equipment | Fences, locks, badge readers, cameras, fire suppression, climate control |
A technical control can run automatically, but its category is about the mechanism. A firewall's software evaluates traffic rules. A person performing a monthly review of permissions is carrying out an operational control even if that person works in IT.
Separate rule, mechanism and activity
Consider the rule, "All company laptops must use full-disk encryption." The policy is managerial because it states a requirement. The encryption software is technical because it enforces protection in software. A staff member checking encryption status as part of a routine is carrying out an operational activity.
A badge reader on a server room door is classified as physical in this scheme because it controls entry to a physical space. A firewall rule blocking inbound Telnet traffic on port 23 is technical. The yearly phishing-awareness course is operational because people deliver and take part in the training.
These controls may cooperate on one outcome without sharing a category. The policy does not encrypt the disk by itself, and having encryption software does not prove that the organization's required routine was followed.
Recognize the three-category scheme
CompTIA Security+ uses technical, managerial, operational and physical. ISC2 groups controls as technical, administrative and physical. In that three-category scheme, administrative covers the governance and human activities separated into managerial and operational in the four-category scheme.
For example, a policy and a training routine belong to different categories in the four-category scheme but both fall under administrative in the three-category scheme. Identify the scheme before comparing labels.
Read boundary cases carefully
A guard performs human activities to protect a physical place. Common Security+ examples put guards under operational, while other sources group them under physical. A useful distinction is to name the exact part: the rule requiring guards is managerial; their patrol routine is operational; the fence and gatehouse are physical.
The question is what implements the protection being described. A word such as "policy" is not enough on its own: a written security policy governs conduct, while a firewall policy can mean a set of technical traffic rules.
Key Takeaways
- Category describes implementation; type describes function.
- Technical controls use hardware, software or firmware.
- Managerial controls govern; operational activities carry out day-to-day work.
- Physical controls protect space and equipment, including environmental conditions.
- The three-category scheme combines managerial and operational as administrative.
6.2 What controls do before and after an incident
A control's type describes its function in relation to an incident. The same device can perform several functions, so read how it is used in the situation.
Six useful functions
| Type | Function | Example |
|---|---|---|
| Preventive | Stops the incident or action | A firewall rule blocks unwanted traffic |
| Deterrent, also called deterring | Discourages an attempt | A visible warning that misuse is monitored |
| Detective | Identifies or records an incident | A motion alarm or reviewed intrusion alert |
| Corrective | Limits damage and returns systems to normal | Restore damaged files or remove malware |
| Compensating | Provides comparable protection when the normal control cannot be used | Isolate and monitor an unpatchable machine |
| Directive | Tells people what to do or avoid | An acceptable use rule or entry instruction |
Preventive, deterrent and directive controls act before an incident. Detective controls reveal activity during or afterward. Corrective work deals with the effects after an incident. Compensating describes a substitute relationship; it is not simply a point on that timeline.
Distinguish close functions
A lock prevents entry by physically restricting it. A warning sign can deter someone by making consequences visible, but cannot block the doorway. A sign saying "Authorized personnel only" directs conduct. Wording about monitoring or penalties emphasizes deterrence. One sign may perform both jobs.
An intrusion detection system (IDS) identifies suspicious traffic and alerts. An intrusion prevention system (IPS) also blocks it. Detection supplies evidence; prevention interrupts the activity. A visible camera can deter attempts and its recordings can detect or document a break-in. Recording alone does not stop a person crossing a doorway.
A backup does not stop the original file from being deleted. Restoring from it corrects the loss and supports availability. Some schemes use recovery as a separate type for restoration resources; Security+ uses corrective without a separate recovery type. The intended role matters more than whether a control happens to run before an incident.
Recognize a substitute
A factory machine cannot receive security patches because its vendor no longer supports it. The organization isolates it on a restricted network segment and adds strict firewall rules and monitoring. The package compensates for the missing patching protection. The firewall still performs prevention and monitoring still performs detection, but together their stated role is compensating for a control that cannot be applied.
Calling any extra control compensating misses the necessary condition: a normal control is unavailable and the alternative must provide comparable protection. Likewise, a directive works through compliance; a rule on paper needs supporting mechanisms and checks.
When several types fit, describe the function the scenario emphasizes. Avoid assigning an unchanging label to every appearance of a camera, backup or firewall.
Key Takeaways
- Preventive stops; deterrent discourages; directive instructs.
- Detective controls identify or record; corrective controls limit and repair damage.
- Compensating controls substitute for a normal control that cannot be used.
- A control may have several functions.
- Restoration is corrective in the Security+ classification.
- Read the stated use before choosing the type.
6.3 Combining category, function and purpose
Describe a control by its implementation, function and protected property. For example, "technical, preventive, protecting confidentiality" answers three different questions.
Classify the exact measure
- Identify the measure: document, human activity, software mechanism or physical object.
- Choose its category from how it is implemented.
- Choose its type from the function described.
- Connect it to the CIA property it protects.
A firewall rule blocking remote desktop traffic is technical and preventive; an IDS alerting on a scan is technical and detective. An acceptable use policy is managerial and directive. A technician restoring a backup performs an operational and corrective control.
A monitoring warning at sign-in is technical and deterrent. CCTV footage is physical and detective. A fence is physical and preventive, and may deter attempts too.
Read purpose in context
"Blocks," "alerts," "restores," "discourages" and "instructs" suggest functions. An unavailable normal fix suggests compensation. Read the whole description: a firewall "policy" can mean technical rules that reject traffic, not a managerial document. Preventive and detective are types, not categories.
Combine controls for laptop theft
An accounting firm combines a rule against leaving laptops in vehicles (managerial, directive), disk encryption (technical, preventive for disclosure), remote location and wiping (technical, detective and corrective), office cable locks (physical, preventive), and backups (technical, corrective for lost work).
Encryption does not prevent theft itself; office locks do not stop theft from cars. Each measure must fit the situation where it will work.
Find gaps and connect the CIA purpose
A category-by-type grid can reveal a plan with prevention but no way to detect failure or repair damage. Include detective and corrective functions across useful implementation categories.
Permissions and encryption mainly support confidentiality. Change approval, hashes and signatures support integrity. Backups, redundancy and power protection support availability.
Key Takeaways
- Name category, type and protected property separately.
- Classify the exact measure and the purpose described.
- A strong control plan includes detection and correction as well as prevention.
- A substitute is compensating when a normal protection cannot be applied.
- Check that a control works in the situation where it is proposed.
Security Principles examples
1Read a security incident one effect at a time
10 steps
- 1IntroductionWhat happened to the booking service?
A training center uses an online service to store bookings and display room assignments. Staff need accurate records (integrity), customers need timely access (availability), and private contact details need protection (confidentiality). Together these form the CIA triad.
Follow an incident through these different needs. The goal is to describe each harm precisely before deciding which controls would help, since each need calls for different protection.
- 2ExplanationAsk who may see the information
Confidentiality limits disclosure to authorized people, processes and devices. The customer list is private even though the service is online. Permissions limit reading; encryption helps protect disclosure.
- 3ExampleStep 1: an unwanted download
An intruder downloads the center's restricted contact list. Staff can still read and update bookings normally.
This is a confidentiality loss: information reached someone unauthorized. Continued staff access does not cancel that loss, and no integrity failure follows from copying alone. Identify the action actually described before adding effects.
- 4ExampleStep 2: a room assignment changes
The intruder changes a class booking from "Room Cedar" to "Room Birch." The service displays the changed assignment to staff.
This harms integrity because trusted information was improperly altered. The page remains available, but being reachable does not make its contents right. Write restrictions, approved changes and version history address this kind of harm.
- 5ChallengeStep 3: staff cannot open bookings
The center takes the booking service offline for inspection. Which CIA property is affected, even though the team chose the shutdown?
---reveal---
Availability is reduced because authorized users cannot reach the service when needed. A containment decision can be reasonable and still interrupt legitimate access. There is no need for data theft to make an outage a security concern.
- 6ConnectionPrivate data needs more than secrecy
Privacy concerns fair collection, use and sharing of personal information for stated purposes. Encrypting the contact list does not justify collecting details bookings do not need. Confidentiality also protects nonpersonal secrets.
- 7Key InsightKeep three findings in the report
The incident has three separate findings: the downloaded contacts concern confidentiality, the changed room concerns integrity, and the inspection outage concerns availability.
These findings can coexist. A response aimed at one must still account for the others. Restoring the room assignment repairs information, but does not undo an intruder's earlier copy of the contact list.
- 8ExampleCompare recovery copies and exposure
The center proposes extra copies of the booking data so a server failure will not stop work. Recoverable copies can improve availability.
Each copy also contains the private contact list and needs confidentiality protection. The design must provide authorized recovery without making copies broadly readable. Count the new storage locations as part of the protection task.
- 9ChallengeChoose protection for the actual harm
A colleague proposes encryption as the complete response to the download, changed room and outage. Why is that incomplete?
---reveal---
Encryption mainly addresses disclosure. The center also needs integrity protection and a way to restore timely authorized use. A service can contain encrypted but wrong data, and encrypted files can still be deleted or unreachable. Match each measure to the problem it solves.
- 10RecapUse the triad to choose the next action
An incident analysis links event → security property → suitable protection. Examine who could read information, whether it changed improperly, and whether legitimate work could continue. The service's purpose then guides how to balance the protections.
2Follow an access request and a disputed approval
14 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionA successful login is the beginning
- 2ExplanationA name is a claim
- 3ExampleCombine different kinds of evidence
- 4ChallengeCount the factors at a secure door
- 5ConnectionSystems prove identity too
- 6ExampleCheck the requested action
- 7ExplanationRecord what actually happened
- 8ChallengePut events in a trustworthy order
- 9AnalogyA shared name loses the individual
- 10ExampleStep 1: a weak approval record
- 11ExampleStep 2: bind approval to content
- 12ChallengeWhy does copying the signing key matter?
- 13ChallengeDoes more evidence fix a shared identity?
- 14RecapAsk the evidence question precisely
3Design protection after a layer fails
11 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionPlan for a missed attack
- 2ExampleStep 1: delivery passes the filter
- 3ExampleStep 2: the attachment runs
- 4ExampleStep 3: detect and restore
- 5ChallengeAre two identical layers independent?
- 6ExplanationChoose rights from the assigned task
- 7ExampleKeep routine work away from powerful rights
- 8ChallengeFind the rights left behind
- 9ExampleSplit creation from approval
- 10ChallengeLimit what a missed attachment can reach
- 11RecapGive each layer a purpose
4Follow a zero trust resource session
14 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionOne network location cannot answer every question
- 2AnalogyA building address is not a room permission
- 3ExplanationProtect resources and communication
- 4ChallengeWhat does a trusted VPN leave open?
- 5ConnectionCoordinate the five pillars
- 6ExampleStep 1: supply the relevant signals
- 7ExampleStep 2: decide whether access is allowed
- 8ExampleStep 3: arrange and enforce the session
- 9Key InsightKeep instructions separate from application data
- 10ChallengeRespond to a changed device
- 11ExplanationShrink the zone reached by one session
- 12TipRecognize adaptive verification
- 13ChallengeCombine good identity with limited reach
- 14RecapFollow both the decision and the traffic
5Trace entry from the site boundary to a server room
12 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionProtect the places behind the data
- 2ExampleStep 1: channel entry at the site boundary
- 3ExampleStep 2: see the attempted entry
- 4ExplanationSensors detect different physical changes
- 5ChallengeFind the unwatched route
- 6ExampleStep 3: check the person at the door
- 7ChallengeOne badge, two entrants
- 8ExampleStep 4: give visitors a controlled path
- 9TipContinue protection inside the room
- 10ConnectionAuthorized entry does not stop a water leak
- 11ChallengeRepair two different physical gaps
- 12RecapFollow the route and the operating conditions
6Classify a control plan on two axes
13 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionGive each control a clear description
- 2ExplanationStart with the implementation
- 3ExampleSeparate the rule from the mechanism
- 4ChallengeUse the named category scheme
- 5ExplanationNext identify the function
- 6ExampleCompare a warning, a block and an alert
- 7ChallengeDoes a backup stop deletion?
- 8Key InsightRecognize compensation by its reason
- 9ExampleStep 1: classify the laptop response
- 10ExampleStep 2: classify the restoration activity
- 11TipUse purpose words carefully
- 12ChallengeFind the missing functions
- 13RecapConnect the label to a real effect
Security Principles practice questions
Set 1: Recognize security goals and access checks10 Practice Questions
Question 1 of 10
Show answerHide answer
Question 2 of 10
Show answerHide answer
Question 3 of 10
Show answerHide answer
Question 4 of 10
Show answerHide answer
Question 5 of 10
Show answerHide answer
Question 6 of 10
Show answerHide answer
Question 7 of 10
Show answerHide answer
Question 8 of 10
Show answerHide answer
Question 9 of 10
Show answerHide answer
Question 10 of 10
Show answerHide answer
Set 2: Apply permissions, layers and control functions10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 3: Trace security decisions and evidence10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 4: Diagnose gaps in protection plans10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 5: Judge evidence and combine security principles10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Stuck on your own question? Homework Help
Key Terms
A
AAA
Access badge
Access control vestibule
Access review
Accountability
Accounting
Assume breach
Audit trail
Authentication
Authentication factor
Authenticity
Authorization
Availability
B
Bollard
C
CCTV
CIA triad
Compensating control
Confidentiality
Control category
Control diversity
Control gap
Control plane
Control type
Corrective control
D
Data plane
Defense in depth
Denial of service
Detective control
Deterrent control
Device posture
Digital signature
Directive control
Dual control
E
Endpoint
Environmental control
F
False acceptance
False rejection
I
Identification
Implicit deny
Independent failures
Integrity
Intrusion sensor
J
Just-in-time access
L
Lateral movement
Least privilege
M
Managerial control
Microsegmentation
Multifactor authentication
Mutual authentication
N
Need to know
Network segmentation
Network Time Protocol
Non-repudiation
O
Operational control
P
Perimeter model
Physical control
Physical security
Policy administrator
Policy decision point
Policy enforcement point
Policy engine
Preventive control
Privacy
Private key
Privilege creep
Proof of delivery
Protected property
R
RADIUS
Redundancy
S
Security control
Security trade-off
Separation of duties
Site perimeter
Subject
T
TACACS+
Tailgating
Technical control
U
Unauthorized disclosure
UPS
V
Visitor log
Z
Zero trust
Zero Trust Maturity Model
About this lesson
Make your own Study Materials
Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.