Identity as the New Perimeter: Conditional Access
Implement identity-centric controls — continuous authentication, device compliance checks, and risk-based conditional access — as the core enforcement layer.
Identity as the New Perimeter: Conditional Access is a free Cloud & IT Cert Prep lesson on CoddyKit — lesson 3 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Cloud & IT Cert Prep learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.
Identity Replaces the Network Perimeter
In the Zero Trust model, identity is the new perimeter. Because users access resources from anywhere — home, coffee shops, mobile devices — the network boundary is meaningless as a trust anchor. Instead, every access decision is made based on who is requesting, from what device, under what conditions. The identity provider becomes the gatekeeper, not the firewall.
What Is Conditional Access?
Conditional Access is a policy engine that grants or restricts access based on signals evaluated at authentication time. Rather than simply verifying a username and password, conditional access evaluates conditions: Is the device compliant? Is the location known? Is the sign-in risk elevated? Is MFA satisfied? Only when conditions are met does the policy engine issue an access token. If conditions fail, access is denied or a step-up challenge is triggered.
Key Signals in Conditional Access
Conditional Access policies evaluate multiple signal categories simultaneously. User/group signals identify who is requesting (admin, guest, contractor). Device signals check compliance status from MDM. Application signals identify which app is being accessed (high-sensitivity vs low-sensitivity). Location signals compare the IP address against named locations and trusted countries. Sign-in risk signals from threat intelligence flag suspicious login patterns.
# Conditional Access signal categories:
# 1. Identity: user role, group membership, admin vs. standard
# 2. Device: compliant (MDM-enrolled, encrypted, patched)
# 3. Location: named location (office IP), country, anonymous proxy
# 4. Application: sensitivity tier, cloud vs. on-prem
# 5. Risk: sign-in risk (leaked credentials, impossible travel)
# 6. Session: session duration, persistent browser sessionPolicy Outcomes: Grant, Block, or Challenge
A Conditional Access policy produces one of several outcomes. Grant allows access, possibly with requirements like MFA or device compliance. Block denies access entirely — for example, blocking all access from high-risk countries. Session controls can limit what users do after access is granted: requiring re-authentication after a timeout, blocking downloads, or enforcing read-only mode in cloud applications.
# Example Conditional Access policy logic:
# Policy: 'Protect Finance App'
# Condition: accessing FinanceApp
# AND user is NOT in FinanceTeam group
# --> BLOCK access
# Policy: 'Require MFA for Admins'
# Condition: user has admin role
# AND sign-in risk is medium or high
# --> GRANT if MFA satisfied, else CHALLENGERisk-Based Conditional Access
Risk-based Conditional Access integrates threat intelligence into the access decision in real time. Identity providers like Azure AD Identity Protection assign risk scores to sign-ins based on signals like impossible travel (login from two countries within minutes), use of known-malicious IP addresses, leaked credential databases, and anomalous behavior patterns. High-risk sign-ins can be automatically blocked or required to re-verify identity.
Device Compliance as an Access Gate
Conditional Access can require device compliance as a prerequisite for access to sensitive resources. A compliant device is one enrolled in MDM (Intune, Jamf), running a supported OS version, with disk encryption enabled and no known vulnerabilities flagged by EDR. Unmanaged or non-compliant devices are redirected to an enrollment portal rather than granted access — even if the user credentials are valid.
Named Locations and IP Allow-Lists
Named locations in Conditional Access define trusted IP ranges — office IP addresses, branch networks, or VPN exit nodes. Policies can require additional authentication (MFA) for any access from outside named locations, or block access entirely from specific countries or anonymous proxy networks. This adds a location layer to the identity verification without reverting to IP-based perimeter thinking.
# Named location usage example:
# Define: 'Corporate Offices' = 203.0.113.0/24, 198.51.100.0/24
# Policy: 'Sensitive App Access'
# IF location NOT in 'Corporate Offices':
# Require MFA
# IF location in 'High-Risk Countries' (blocklist):
# BLOCK always
# IF accessing from anonymous proxy:
# BLOCK alwaysContinuous Access Evaluation (CAE)
Traditional access tokens are valid for their lifetime (often one hour) regardless of what happens to the user account after issuance. Continuous Access Evaluation (CAE) allows the resource provider to revoke tokens in near-real-time when critical events occur — account disabled, password changed, risky user flagged. The application checks token validity during the session, not just at login, closing the gap where compromised tokens remain valid.
Federated Identity and External Users
Organizations frequently need to grant partners and contractors access without creating internal accounts. Federated identity allows an external identity provider (partner's Azure AD, Google Workspace) to authenticate users and pass verified identity claims. Conditional Access policies can apply to federated users — requiring MFA, restricting device types, or limiting which applications they can access — maintaining control without managing their accounts directly.
Session Controls and App-Level Restrictions
Beyond granting or blocking access, Conditional Access can enforce session-level controls. For cloud apps integrated with Microsoft Defender for Cloud Apps or similar CASB (Cloud Access Security Broker) solutions, policies can restrict: block file downloads on unmanaged devices, require re-authentication after 8 hours of inactivity, display warnings when accessing sensitive data, or prevent copy-paste of confidential content outside the corporate environment.
Implementing Identity-Centric Zero Trust
Implementing identity as the perimeter requires integrating several technologies: an Identity Provider (IdP) that supports modern protocols (SAML, OIDC), an MDM/EMM solution for device compliance data, a Conditional Access policy engine, and multi-factor authentication as a minimum baseline. The goal is to ensure no access occurs without verified identity and device posture, regardless of network location — eliminating the concept of a trusted internal network.
Quick Check
Test your understanding of CompTIA Security+ (SY0-701) concepts from this lesson.
Lesson Recap
In this lesson you learned: identity replaces the network perimeter as the primary trust anchor in Zero Trust, Conditional Access evaluates multiple signals (user, device, location, risk) before granting access, and session controls and Continuous Access Evaluation maintain security throughout the access session, not just at login. Next up we explore the Zero Trust Maturity Model for planning enterprise-wide adoption.
Frequently asked questions
Is the “Identity as the New Perimeter: Conditional Access” lesson free?
Yes — the full text of “Identity as the New Perimeter: Conditional Access” is free to read here on the web, and the Cloud & IT Cert Prep course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Cloud & IT Cert Prep course, upgrade to CoddyKit PRO.
What will I learn in “Identity as the New Perimeter: Conditional Access”?
Implement identity-centric controls — continuous authentication, device compliance checks, and risk-based conditional access — as the core enforcement layer. You practise Cloud & IT Cert Prep with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.
Do I need any experience to start Cloud & IT Cert Prep?
No prior experience is required. Cloud & IT Cert Prep on CoddyKit is structured for beginners through advanced learners; this is — lesson 3 of 4, so you can start here or from the beginning and move at your own pace.
How long does the “Identity as the New Perimeter: Conditional Access” lesson take?
Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.
Can I write and run code in this Cloud & IT Cert Prep lesson?
Yes. Every Cloud & IT Cert Prep lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.
All lessons in this course
- Zero Trust Principles: Never Trust, Always Verify
- Micro-Segmentation and Software-Defined Perimeters
- Identity as the New Perimeter: Conditional Access
- Zero Trust Maturity Model and Migration Planning