Network Zones in Okta: The Basics

Network Zones in Okta: The Basics

A plain-English guide to the feature that lets Okta treat a sign-in from your office differently from one that comes from a faraway country or a hidden proxy. Learn what zones are, how Okta uses them, and how to avoid the common mistakes.

Imagine a bank that recognizes you. When you walk into your own branch, the staff know your face, the guard waves you in, and the process is quick. When someone with your account number phones from a country you have never visited, at three in the morning, the bank asks more questions. The bank is using the place you come from as a clue about how much to trust you.

Okta can do the same thing with network zones. A zone is a named group of internet locations that you describe once and then reuse in your rules. In this guide you will learn what zones are, what kinds exist, how Okta checks them when someone signs in, and how to use them safely. No earlier knowledge is needed. Every new word is explained the first time it appears.

1What a Network and a Zone Mean in Simple Words

Start with the ground floor, then build up.

Every device that uses the internet shows the outside world an address, called an IP address. IP stands for Internet Protocol. An IP address looks like a set of numbers separated by dots, and it works a bit like the address on a house. When you visit a website, the website sees the address your traffic comes from. When you sign in to Okta, Okta sees it too.

An office usually shares one or a few of these addresses with everyone inside. All the laptops in the building appear to the outside world as if they come from the same front door. A home connection has its own address. A coffee shop has another. A mobile phone on a phone network has yet another.

So what is a zone?

A network zone is a saved description of a set of places on the internet. You give it a name, such as “Head Office” or “Countries We Do Not Serve”, and you list what belongs in it. After that, you can refer to that name inside Okta rules instead of repeating long lists of numbers every time.

Everyday analogy

Think of a city map with colored areas. One area is marked “our company campus”, another “partner offices”, and another “places we never do business”. Instead of reading out every street name each time, you simply say “campus” or “partner”. A zone is a named area on the internet map.

1
Name, reused in many rules
2
Main kinds of zone: by address and by dynamic traits
Many
Places in Okta where a zone can be used
i
Good to know

A zone describes where a request seems to come from. It does not describe who the person is. Two very different people can come from the same address, and one person can come from many addresses in a single day.

2Why Network Zones Exist

Passwords travel anywhere. That is the problem.

A password does not know where it is being typed. A criminal in another continent who has stolen your password can type it into the same sign-in page that you use. From the website’s point of view, the words are the same. Without any other clue, the site must treat both people alike.

The place a request comes from is a useful extra clue. Most staff sign in from a small number of familiar places: the office, home, a few trusted partner sites. Attackers often come from unusual places, from networks that hide their identity, or from countries where the company has no staff. If you can describe the familiar and unusual places once, you can ask Okta to treat them differently.

Three things companies want from zones

First, smoother access in trusted places. Staff in the office should not be bothered more than necessary. Second, extra checks in unusual places. A sign-in from a strange network should face stronger proof. Third, blocking the worst places entirely. If a company never expects visitors from certain countries or from anonymizing services, it can refuse them before a password is even tried.

Everyday analogy

A gym recognizes members who come through the front desk and uses a quick card tap. If somebody tries to enter through a back window, the staff do not just check the card. They stop the person and ask many questions. Where you enter from changes how much checking is needed.

The same password can mean two very different things, depending on where it arrives from.

3Network Zones in Okta at a Glance

The big picture first, the details later.

Okta is an identity provider, which means it is the trusted service that knows who everyone is and decides whether they may enter an app. When a sign-in arrives, Okta can look at the address it came from, compare it with your saved zones, and use the answer inside your rules. In the admin console, zones are created in the networks area of the security settings.

The main kinds of zone

Kind 1

IP zone

You list exact addresses, ranges of addresses, or blocks of addresses. Best for describing your offices, data centers and VPN exits.

Kind 2

Dynamic zone

You describe traits instead of addresses, such as a country, a network provider, or whether the traffic looks like it comes through an anonymizing service.

Kind 3

Blocklist zone

A zone whose job is to refuse access. Anything inside it is stopped before it can try to sign in.

Kind 4

Exempt zone

Some accounts offer a zone for addresses that should never be blocked by automatic protections, such as trusted partner systems.

What “basic” means in this guide

This guide covers the foundation: what zones are, the two main types, where they are used, how a sign-in is checked, how to set up a first zone, and how to avoid the classic traps. It leaves out rare, heavily customized designs so that you can build a strong picture first. Once the basics feel natural, the advanced options become easier to learn.

+
Tip

Okta’s screens, names and features change from time to time, and some options depend on your plan. Learn the ideas here, then check your own admin console and the current Okta documentation for exact labels.

4Core Concepts You Need to Know

Ten small ideas explain almost everything about zones.

Idea 1

IP address

The numeric address that identifies where internet traffic comes from. Okta looks at it on every sign-in.

Idea 2

CIDR block

A short way to write a whole range of addresses at once. A single entry can cover hundreds of addresses in your office network.

Idea 3

Gateway

The public address your traffic leaves from. Your office router or VPN exit is a gateway.

Idea 4

Proxy

A middle server that passes traffic on behalf of someone else. Some proxies are trusted company tools, and some are hiding places for attackers.

Idea 5

Geolocation

An informed guess about the country or region of an address, based on public records and databases.

Idea 6

ASN

Autonomous System Number. An identifier for a network operator, such as a particular internet provider or hosting company.

Idea 7

Policy rule

An if-then statement in Okta. A rule can say “if the person is in this zone, then allow with one proof.”

Idea 8

Blocklist

A list of places that are refused entry outright.

Idea 9

Anonymizer

A service that hides where traffic really comes from, such as certain proxies and privacy networks.

Idea 10

System log

Okta’s record of events, which shows what happened with each sign-in and which zones were involved.

CIDR in one paragraph

Writing out every address in a big office network one by one would take pages. CIDR, which stands for Classless Inter-Domain Routing, is a compact way to write a range. It has the first address, a slash, and a number. The bigger the number after the slash, the smaller the range. For example, a block written as 203.0.113.0/24 covers 256 consecutive addresses. These example numbers are reserved for teaching, so you will not find a real company using them.

Gateway and proxy in one paragraph

When you list your office in a zone, you usually list the gateway, which is the public address of the place your traffic leaves from. If you also use a trusted proxy, such as a company security service that sits in the middle, you can tell Okta about it too, so that Okta knows which proxy it may believe when it reports the original address. Treat that list of trusted proxies with care, because trusting the wrong proxy is like trusting a forged letter.

5Architecture and Components

Who are the players, and what does each one do?

flowchart LR
  U["User or Application"] --> I["Internet"]
  I --> O["Okta Sign-In Service"]
  O --> Z["Zone Check: which zones contain this address?"]
  Z --> P["Policy Rules"]
  P --> R{"Decision"}
  R -->|Allow| A["Allow access"]
  R -->|Extra proof| M["Ask for stronger proof"]
  R -->|Deny| B["Block access"]
FIG 1. The main parts involved when zones influence a sign-in.

The parts, one by one

The user or application is whoever makes the request. It may be a person at a laptop, a mobile app, or a script that talks to Okta automatically. The internet carries the request, and along the way the address of the sender becomes visible to Okta.

The Okta sign-in service receives the request. It notes the address, and it asks the zone check which of your saved zones contain that address. A single address can sit in several zones at once. For example, it may be in “Head Office” and also in “Country A”.

The policy rules are the rulebook that your administrators have written. They take the answer from the zone check, plus other facts such as the app and the group of the person, and produce a decision. The decision can be to allow, to ask for stronger proof, or to deny.

Everyday analogy

An airport works the same way. Passengers arrive from many places. An officer checks where each flight started, and your rulebook decides who walks through quickly, who goes to a longer check, and who is turned away. The zone is the “where did you fly in from” box on the form. It does not decide anything alone, but the rulebook uses it.

Admin side and user side

The administrator creates zones, writes rules, and watches logs. The end user simply signs in and sees a smooth path or a stricter one. Most users never learn that zones exist. They only notice that sign-in feels easy at work and a bit stricter when they travel.

6IP Zones in Detail

The most common and most trusted kind of zone.

An IP zone is the simplest zone to understand. You make a list of addresses, and anything coming from those addresses belongs to the zone. It is the best choice for places you control and know well.

What you can put in the list

Entry styleWhat it coversTypical use
A single addressExactly one addressA small office with one fixed internet connection
A range of addressesFrom one address up to anotherA hosting provider that gave you a block of addresses
A CIDR blockA whole network written in short formA large office or data center network

Gateways and trusted proxies

Okta lets you describe two kinds of entries. Gateway addresses are the public addresses that your traffic really leaves from. Proxy addresses are the addresses of trusted middle servers. If a request passes through one of those, Okta may use the original address that the proxy reports. If you list the wrong proxy, an attacker could try to pass along a fake original address, so only list proxies you own or truly trust.

Everyday analogy

Think of a post office. A letter has a return address written on it. The staff trust the return address when the letter comes through their own sorting centre. They do not trust it when it comes from an unknown courier. A trusted proxy is a sorting centre you know, and a random proxy is an unknown courier.

What IP zones are good at

  • Describing your offices, branches and data centers.
  • Describing the fixed exit addresses of your company VPN.
  • Describing the addresses of trusted partners and service providers.
  • Making a custom blocklist of addresses that have caused trouble.
!
Warning

Home internet addresses and mobile phone addresses often change without notice. Do not put them in a “trusted” zone just to save a login prompt. An address that is yours today may belong to a stranger next week.

7Dynamic Zones in Detail

When listing addresses is not enough, describe traits instead.

Where an IP zone says “these exact addresses”, a dynamic zone says “any address that has these traits”. The traits are worked out by Okta using databases that are kept up to date by others. This is useful because nobody can list every address in the world, and the list keeps changing.

Traits you can describe

Trait

Location

A country or region where the address appears to be. Useful for rules such as “block countries where we have no business.”

Trait

Network operator

The provider that owns the address, identified by its ASN. Useful for spotting hosting companies that real staff would not normally use.

Trait

Anonymizing services

Traffic that looks like it comes through hiding tools such as certain proxies or privacy networks. Attackers favor these to mask their trail.

Trait

Combination

You can combine traits. For example, “any address in Country B that is also a hosting network.”

Everyday analogy

An IP zone is like a guest list with exact names. A dynamic zone is like a rule at the door that says “no one wearing a mask, and no one arriving by the service entrance.” You do not need to know every person, only the traits you care about.

Be honest about accuracy

Location information is a guess, not a fact. Some addresses are mapped to the wrong country. People who travel, who use a company VPN that exits in another country, or who use mobile networks that route traffic through distant centres can look as if they are somewhere they are not. Because of this, dynamic zones work best as one clue in a larger rule, and not as a lone judge.

+
Tip

When you block by country, first look at your logs to see who really signs in from where. A quick check can reveal travelling staff, remote workers, or partners that you would have blocked by accident.

8The Blocklist and the Exempt Idea

Two special jobs that zones can do.

The blocklist

A blocklist zone does not give access. It takes it away. Okta can be told to refuse requests that come from certain zones. Because this happens early, the person never gets a chance to try a password. This is a strong tool for places that you never expect legitimate sign-ins from.

Everyday analogy

Picture a club with a bouncer’s list of people who are never allowed in. The bouncer does not even ask them for tickets. They are turned away at the street. The blocklist is that list.

The exempt idea

Automatic protections can sometimes be too eager. A partner company that sends a large number of sign-ins from one address may look like an attacker. Some accounts offer a zone that lists addresses to leave alone. Use it with great care. Anything you place there is trusted more than usual, so it should only hold addresses you fully understand.

Why order matters

The blocklist and exempt ideas work before most of your normal rules. This means a small mistake can have a large effect. If you add the wrong range to the blocklist, a whole office could be locked out. Always test changes with a small, safe range and keep another way to reach the admin console.

!
Warning

Never add your own current address to a blocklist while you are working from it, and never block the address range that your administrators use to reach Okta without a backup path. Many teams have locked themselves out this way.

9Where Zones Are Used in Okta

A zone on its own does nothing. The power comes from where you use it.

Creating a zone is like drawing an area on a map. It only matters once your rules refer to it. Here are the most common places where Okta can use a zone.

Where it is usedWhat a zone can do there
Sign-in rules for the whole accountDecide who may sign in, and with how much proof, based on the place
Rules for individual appsBe stricter for sensitive apps, such as payroll, when the sign-in is from outside trusted zones
Rules about extra proofAsk for a second factor only outside the office, or every time outside it
Admin console accessAllow administrators only from specific zones such as the office or the company VPN
Automatic connectionsLimit programs that use Okta’s API access tokens to the addresses where they should run
Account-wide blockingRefuse all requests from a zone before any rule is tried

A quick picture of how it reads

A rule that uses a zone is easy to read out loud. “For the payroll app, if the person is not in the Head Office zone, then require a phone approval every time.” “For the admin console, if the person is not in the VPN zone, then deny.” Each rule looks at where, and then at what to do.

Different apps, different strictness

A company lets everyone open the lunch menu page from anywhere, asks for a phone approval for the email app outside the office, and refuses the payroll app unless the person is on the company network or VPN. One set of zones feeds three different rules.

i
Good to know

Naming matters. Use clear zone names such as “HQ Office Egress” or “Blocked High Risk Countries”. Six months from now, a clear name saves a lot of guessing.

10Setting Up Your First Zone Step by Step

Careful planning matters more than clever clicking.

1

Decide what you want to achieve

Write one clear sentence, such as “Staff on the office network get a lighter sign-in, and everyone else gets a phone approval.” A clear goal prevents a messy rulebook.

2

Collect the real addresses

Ask your network team for the public addresses your offices and company VPN use to reach the internet. Do not guess, and do not use the private addresses staff see inside the building.

3

Create the zone

In the admin console, open the networks area of the security settings, choose to add a zone, pick the IP type, give it a clear name, and add the addresses.

4

Check the zone with the log

Sign in from a known place and read the system log. Confirm that Okta sees the address you expected and that the zone matches.

5

Use it in one small rule

Choose one low-risk app and one pilot group. Add a rule that uses the zone, and watch what happens.

6

Test from outside

Ask a pilot user to sign in from home or from a mobile phone, and confirm that they see the stricter path.

7

Roll out gradually

Extend the rule to more apps and groups only after the results look right. Keep a backup way into the admin console while you do so.

8

Write it down

Record what each zone is, who owns it, why it exists, and when it was last reviewed.

!
Warning

Do not begin with account-wide blocking or with admin console rules. A mistake there can lock out everybody, including the people who could fix it. Start with a rule for one ordinary app and grow from there.

Choose names you will understand later

A name like “Zone 1” tells you nothing. A name like “London Office Egress” tells you what it is and where it is used. Add the owner’s team in the description, so that anyone who finds a strange zone knows whom to ask.

11How a Sign-In Is Checked Inside

A lot happens in the second between pressing Sign In and seeing the next screen.

sequenceDiagram
  autonumber
  participant U as User
  participant O as Okta
  participant B as Blocklist Zone
  participant Z as Zone Engine
  participant P as Policy
  U->>O: Open sign-in page from some address
  O->>B: Is this address on the blocklist?
  B-->>O: No
  O->>Z: Which zones contain this address?
  Z-->>O: A list of matching zones
  O->>P: Evaluate rules using those zones
  P-->>O: Allow, ask for more proof, or deny
  O-->>U: Show the next step
FIG 2. The life of one sign-in as it passes through the zone checks.

Walking through the diagram

The request arrives, and Okta reads the address it came from. The first stop is the blocklist. If the address is on it, the request ends there. If not, Okta asks the zone engine which of your zones contain the address. The answer may be none, one, or several.

Next, the rules take the stage. Rules are read from top to bottom. The first rule whose conditions match the situation decides what happens. A condition might say “the person is in the Finance group, and the address is not in the Head Office zone.” If that matches, the rule’s action applies, for example “ask for a phone approval each time.”

Order of rules matters

Because the first matching rule wins, the order in your list is part of your design. A broad “allow everything” rule placed above a careful “ask for proof outside the office” rule will quietly cancel the careful one. Always read your rules from the top and ask which one will match first.

Everyday analogy

Think of a row of ticket checkers at a stadium, each with a different instruction. The first checker whose instruction matches you stops you and tells you what to do. If the first checker simply says “wave everyone through”, the careful checkers behind never get to speak.

+
Tip

Put specific, stricter rules above general, relaxed ones. End the list with a sensible default that asks for good proof, so that a case you did not think of is still protected.

12A Worked Example: One Person, Four Places

A made-up story helps all the pieces click together.

Asha works in finance at a company that uses Okta. The administrators created three zones: “HQ Office Egress”, “Company VPN”, and “Blocked Anonymizers”. They wrote rules for the payroll app. Follow Asha through a week. The names and details here are invented for teaching.

1

Monday at the office

Asha signs in from the head office. Okta sees an address inside “HQ Office Egress”. The rule allows access with her normal sign-in and a quick approval once per day.

2

Tuesday from home

Her home address is in no trusted zone. The rule asks for a phone approval on every sign-in to payroll, and she taps it with her fingerprint.

3

Wednesday through the company VPN

She switches on the VPN. Okta now sees the VPN’s fixed exit address, which sits in “Company VPN”. She gets the same smooth path as in the office.

4

Thursday at an airport

On the airport’s public wireless network, Okta sees an unknown address. The stricter rule applies. She approves on her phone and carries on.

5

Friday, someone else tries her password

A stranger types her stolen password from a hiding service. The address falls in “Blocked Anonymizers”, so Okta refuses the request before the password is even checked.

What the story shows

The same person got four different experiences without anyone editing her account. The zones and rules did the work. The stranger on Friday never even reached the password check. This is the heart of the idea, and it becomes more valuable as the company grows.

What if Asha’s office changes its internet provider?

The office address changes. If nobody updates the “HQ Office Egress” zone, Asha will suddenly be treated as if she is outside. This is why the zone owner must be told about network changes in advance.

What if she travels abroad?

If a rule blocks her destination country, she cannot sign in. A smarter design asks for stronger proof or lets the help desk grant a time-limited exception for known trips.

13Zones and Multi-Factor Proof

Zones adjust how much proof is asked. They do not replace it.

The most common use of zones is to fine-tune multi-factor authentication, often shortened to MFA, which means asking for more than one kind of proof when someone signs in. A company can ask for a second proof, such as an approval on a phone app, more often when a sign-in looks less familiar.

Three popular designs

Design 1

Always ask

Everyone gives a second proof every time, from anywhere. Simple and strong, but some people find it tiring.

Design 2

Ask outside the zone

In trusted places the proof is asked once in a while. Outside, it is asked each time. A balanced approach.

Design 3

Strong proof outside, block the worst

Outside trusted places a stronger method is required, and some places are blocked outright.

Everyday analogy

Think of a supermarket loyalty card. At your usual branch, a quick scan is enough. If the card is used at a faraway branch for a large purchase, the cashier asks to see a photo ID as well. Zones decide when the extra ID is worth asking for.

Do not let zones turn into a free pass

It is tempting to say “people in the office never need a second proof”. This is risky. An attacker who plugs into the office network, or who takes control of an office computer, now enjoys the free pass. A safer plan keeps some proof even in trusted zones, perhaps less often, and always requires strong proof for sensitive apps.

!
Warning

The place a request comes from is a clue, not a guarantee. Never use a network zone as the only thing protecting a sensitive system. Combine it with a real second proof and, where possible, checks on the health of the device.

14VPNs, Proxies and Cloud Exit Points

Where traffic appears to come from is not always where the person sits.

flowchart LR
  E["Employee at Home"] -->|"Direct"| OK["Okta"]
  E -->|"Through company VPN"| V["VPN Gateway with a fixed public address"]
  V --> OK
  OF["Office Network"] --> NAT["Office Exit Address"]
  NAT --> OK
  OK --> ZN["Zones: Office, VPN, Everywhere Else"]
FIG 3. The same person can appear from different addresses depending on the path.

VPNs

A VPN, or virtual private network, sends your traffic through a company-controlled server. To Okta, the person appears to come from the VPN’s exit address. If you list that address in a zone, VPN users enjoy the same treatment as office users. If the VPN has many exit addresses, or if they change, the zone must be kept up to date.

Split tunneling

Some VPNs send only some traffic through the company server and let the rest go straight out. If Okta traffic goes out directly, Okta sees the home address and not the VPN address. This causes confusing results where “I am on the VPN but I am treated as outside”. Ask your network team how the VPN is set up.

Cloud security services and shared exits

Many companies use cloud security tools that sit in the middle. Staff traffic then leaves from shared addresses used by many companies at once. Be careful before trusting such addresses. If the address is shared, then anyone else using the same service also looks “trusted” to your rule.

Mobile networks and home internet

Mobile networks often share one address among many customers, and addresses can change in the middle of a session. Home connections change without notice. These addresses are poor candidates for a trusted zone. Use them to trigger stronger checks, not to give shortcuts.

Everyday analogy

Think of mail forwarded through an office reception. The letter says it came from the reception address, not from the person who wrote it. If many different people use the same reception desk, a trusted address stops meaning “this person” and starts meaning “someone using this desk”.

15Data Flow and Lifecycle of a Zone

Zones are not a set-and-forget feature. They have a life.

flowchart LR
  C["Create the zone"] --> T["Test with one small rule"]
  T --> A["Apply to more rules"]
  A --> R["Review on a schedule"]
  R --> U["Update addresses"]
  U --> R
  R --> X["Retire the zone when no longer needed"]
FIG 4. The lifecycle of a network zone, from creation to retirement.

Create

A new zone starts with a purpose. Someone should be able to say why it exists and who owns it. Gather correct addresses from the network team, and give the zone a clear name and description.

Test

Before using a zone in important rules, try it in a low-risk rule with a small group. Check the log to confirm that the addresses match as expected.

Apply

Extend the zone to more rules only after it behaves correctly. Keep a list of which rules use which zones, because a change to a zone affects all of them at once.

Review

Offices move, providers change, and VPN exits are replaced. Review each zone on a schedule, perhaps every few months, and after every network change. Remove addresses you no longer own, because an old address may later belong to a stranger.

Retire

When a zone is no longer used, remove it from the rules first and then delete it. Dead zones clutter the list and invite mistakes.

+
Tip

Ask the network team to include “update Okta zones” in their checklist for any change of internet provider, office move or VPN replacement. This one habit prevents a large share of surprise lockouts.

16Advantages, Disadvantages and Trade-offs

Every design trades something away. Here is an honest balance sheet.

Advantages

  • Easy to understand and to explain to non-technical people
  • Reduces annoyance in trusted places and adds care elsewhere
  • Can refuse the worst traffic before a password is tried
  • Reusable names keep rules short and readable
  • Helps restrict administrators and automatic tools to expected addresses
  • Gives useful context in the system log during an investigation

Disadvantages

  • Addresses change, so zones go out of date
  • Location guesses can be wrong
  • Attackers can hide behind trusted-looking or shared addresses
  • Remote and travelling staff can be treated unfairly
  • A wrong blocklist entry can lock out many people at once
  • Gives a false sense of safety if used alone

Zones compared with other clues

ClueWhat it tells youMain weakness
Network zoneWhere the request seems to come fromAddresses can be shared, changed or hidden
Behavior checkWhether this sign-in looks unusual for this personNeeds history, and people can behave unusually for good reasons
Device healthWhether the device is managed and up to dateNeeds software on the device
Second proofWhether the person holds a registered devicePeople can be tired of prompts

The big trade-off: convenience versus caution

The wider your trusted zone, the smoother things feel, and the more places an attacker might hide. The narrower your trusted zone, the safer you are, and the more often people see extra prompts. A good design trusts a small set of well-known places a little, and never trusts any single clue completely.

17Security: Threats and Defenses

Know the tricks so that you can design against them.

Threat 1: Hiding behind anonymizing services

Attackers often route traffic through proxies and privacy networks to hide their true place. A dynamic zone for these services, used in a blocklist or a stricter rule, removes a great deal of this noise.

Threat 2: Using a trusted-looking address

If an attacker gains control of a computer inside your office, or connects to a shared service whose address you trusted, they inherit the benefits of that zone. Keep proof requirements even in trusted zones and avoid listing shared addresses as trusted.

Threat 3: Forged address information

If you trust a proxy that reports the original address, make sure the proxy is yours and that it cannot be told what to say by outsiders. A badly set trusted proxy list lets an attacker pretend to be anywhere.

Threat 4: Zones that quietly go stale

An old office address may later be given to a stranger by the provider. A zone that still lists it now trusts that stranger. Regular review removes this risk.

Threat 5: Over-blocking and self-lockout

A careless blocklist can lock out your own staff or administrators. Always keep a safe path in, such as a protected emergency administrator account.

Threat 6: Relying on location alone

Because location guesses can be wrong and addresses can be faked through many tricks, never rely on a zone as the single safeguard. Combine it with a strong second proof and device health checks.

ANTI-PATTERN 01Avoid
What people do

They say “anyone in the office zone needs no second proof, ever”, for every app including payroll and the admin console.

Why it hurts

One infected office computer, a visitor on the guest network that shares the same exit address, or a stolen laptop in the building now has an open door into the most sensitive systems.

Do this instead

Keep a second proof even inside the office, relax it only for low-risk apps, and always require strong proof for sensitive systems.

18Reliability: What Happens When Things Change

Plan for the day the network changes under your feet.

Zones depend on facts about the outside world. When those facts change, rules can start to behave differently overnight. Good design expects change and makes recovery easy.

What changesWhat users noticeGood protection
Office changes internet providerStaff suddenly get stricter prompts or are blockedUpdate the zone before the switch-over date
VPN gets new exit addressesVPN users are treated as outsideAdd the new addresses first, remove the old ones later
Wrong range placed in a blocklistMany people cannot sign in at allTest with a small range, keep an emergency administrator path
Location database is out of dateSomeone is wrongly treated as being in another countryUse location as one clue and offer a help desk path
Zone owner leaves the companyNobody knows how to fix zonesName a team owner, not just a person

Fail safely

Think about what should happen if a zone does not match, for example if a new office address has not been added yet. A safe design asks for stronger proof and does not simply grant access. Staff may be mildly annoyed, but the company is protected.

Keep a break-glass plan

Keep a small number of specially protected emergency administrator accounts that are not blocked by network rules. They are used only when normal access is broken, and every use is checked afterwards.

Everyday analogy

A building’s fire exits stay unlocked even though the front door has strict security. Nobody wants to use them, but everyone is glad they exist during an emergency. The emergency administrator path is the fire exit of your sign-in rules.

19Monitoring, Logging and Metrics

If nobody looks at the dashboard, a quiet mistake stays quiet.

Okta writes a record of important events into its system log. Each sign-in event records the address the request came from, and it can show which zone matched and what decision followed. This is the best way to check that your zones behave the way you meant.

What to keep an eye on

Signal

Blocked sign-ins

A steady stream of blocked sign-ins shows the blocklist is working. A sudden jump of blocks for known staff means something is wrong.

Signal

Unexpected zone matches

A person who should be inside the office zone but is not, or the reverse, points to an out-of-date address.

Signal

Sign-ins from new places

A first sign-in from a new country for a given person is worth a look, especially for admin accounts.

Signal

Admin access outside allowed zones

Any attempt to reach the admin console from outside the allowed zones should raise an alarm.

Useful numbers to track over time

Teams track simple health numbers, such as how many sign-ins are allowed, challenged and blocked each day, how many are matched to each zone, and how often people contact the help desk about unexpected prompts. Slow changes in these numbers often reveal a problem long before a user reports it.

+
Tip

Send key Okta events to a central place where your security tools can raise an alarm automatically. Logs that nobody reads cannot protect anyone.

20Troubleshooting Common Problems

Most problems have simple causes. Check these before anything else.

Problem 1

Office staff are treated as outside

The office exit address may have changed, or the zone holds the wrong kind of address. Read the log to see what address Okta actually saw.

Problem 2

VPN users get strict prompts

The VPN may use new exit addresses, or split tunneling sends Okta traffic out directly. Check the path with the network team.

Problem 3

A rule never seems to apply

An earlier rule in the list may match first. Read the rules from the top and see which one wins.

Problem 4

A traveler is blocked

A country-based rule may be doing its job. Decide whether to allow an exception, add stronger proof, or keep the block.

Problem 5

Nobody can sign in at all

A blocklist entry may be too wide. Use the emergency administrator path to correct it and then review how it was tested.

Problem 6

A program that uses Okta stops working

If its access is limited to certain addresses, the server that runs it may have moved. Update the zone or the program’s location.

A calm step-by-step routine

1

Find the failing sign-in in the log

Look for the person, the time and the app. The record tells you the address Okta saw and which zones matched.

2

Compare address with zone

Is the address really inside the zone you expect? If not, the zone, or the network path, needs attention.

3

Read the rules in order

Decide which rule matched first and why. Remember that order is part of the design.

4

Change one thing and retest

Make one small change at a time, so you know which change fixed or broke the situation.

!
Warning

Avoid “fixing” a problem by adding a very wide range, such as every address in a country or a huge provider, to a trusted zone. It solves one complaint and opens a large door.

21Design Patterns and Anti-Patterns

Habits that work well, and habits that cause trouble.

Think in layers

flowchart TD
  S["Sign-in attempt"] --> L1["Layer 1: Blocklist zone"]
  L1 --> L2["Layer 2: Threat intelligence signals"]
  L2 --> L3["Layer 3: Network zone rules"]
  L3 --> L4["Layer 4: Behavior and device signals"]
  L4 --> L5["Layer 5: Multi-factor proof"]
  L5 --> OK["Access decision"]
FIG 5. An example of defense in depth, with zones as one layer among several.

Security experts call this idea defense in depth. No single layer is perfect, so you stack several, and a weakness in one layer is covered by another. Zones are a very good layer, but they are only one.

Patterns that work

Small, well-named zones

Create one zone per purpose, such as “HQ Office Egress” and “Company VPN”. Small zones are easy to review and easy to explain.

Stricter rules for sensitive apps

Use stronger proof outside trusted zones for apps that hold money, personal data or admin power.

Restrict administrators to known places

Allow admin console access only from the office or VPN zones, with an emergency path outside them.

Scheduled review

Put zone review on the calendar, and tie it to network change tickets.

Anti-patterns that cause trouble

ANTI-PATTERN 02Avoid
What people do

They add every employee’s home address to a trusted zone so that nobody sees a prompt.

Why it hurts

Home addresses change and can be re-assigned to strangers. The list grows without end, and nobody can review it.

Do this instead

Treat home networks as untrusted, and make the second proof as pleasant as possible, for example with a quick fingerprint approval.

ANTI-PATTERN 03Avoid
What people do

They create a zone, use it in many rules, and never look at it again.

Why it hurts

The network changes, the zone does not, and staff are suddenly blocked or, worse, strangers are suddenly trusted.

Do this instead

Give every zone an owner and a review date, and update it whenever the network changes.

ANTI-PATTERN 04Avoid
What people do

They block a whole country on a hunch, without checking the logs first.

Why it hurts

Travelling staff, partners and contractors are cut off, and the help desk is flooded.

Do this instead

Study real sign-in data first, start with stronger proof instead of blocking, and add a defined exception process.

22Best Practices and Common Mistakes

A short checklist for the person setting this up.

Before you start

  • Get correct public addresses from the network team, and not guesses.
  • Write down the goal of each zone in one sentence.
  • Study your logs to learn where people really sign in from.
  • Decide who owns each zone and who must be told about network changes.

While you build

  • Start with one small rule on one low-risk app and one pilot group.
  • Use clear names and descriptions.
  • Prefer stricter proof over outright blocking when you are unsure.
  • Keep an emergency administrator path that is not blocked by zones.
  • Read your rules from the top to be sure the right one matches first.

After go-live

  • Check the log after every change, and again a week later.
  • Review zones on a schedule and after every network change.
  • Remove old addresses you no longer own.
  • Set alerts for admin sign-ins from unexpected places.
  • Practice what to do if a bad blocklist entry locks people out.

Common mistakes

!
Frequent errors

Trusting shared or home addresses. Forgetting to update zones when the network changes. Using a zone as the only protection. Placing a broad allow rule above careful ones. Blocking countries without checking logs. Locking out administrators. Leaving zones without an owner.

Everyday analogy

Zones are like the house numbers on a delivery map. A map that is kept up to date gets parcels to the right door. A map that is never updated sends parcels to a house that was knocked down years ago, or worse, to a stranger who has moved in.

23Planning Checklist and Phased Rollout

Good projects are decided on paper before they are decided in the console.

Places

Which places do we trust?

List the offices, data centers and VPN exits that are fully under your control, and nothing more.

Places

Which places do we distrust?

List anonymizing services, countries with no business, and known bad networks seen in your logs.

People

Who travels or works remotely?

Plan paths for people who sign in from many places, so they are not blocked without warning.

Apps

Which apps are sensitive?

Rank apps by risk, and decide which ones always need strong proof wherever people are.

Network

How does traffic leave?

Ask about VPN setup, split tunneling, proxies and cloud security services.

Owners

Who maintains the zones?

Name a team and a backup, and connect zone updates to network change tickets.

Safety

What is the emergency path?

Set up and test a protected administrator account before you need it.

Support

What will we tell users?

Prepare short, friendly notes that explain why prompts may change when they travel.

Roll out in phases

1

Observe

Read the logs for a few weeks. Learn where people sign in from before you change anything.

2

Pilot

Create the zones and use them in one small rule for a friendly group.

3

Expand

Extend to more apps and groups, one at a time, reviewing the log after each step.

4

Tighten

Only after things are stable, add stricter rules such as blocking known bad places and restricting admin access.

5

Maintain

Schedule reviews and tie them to network changes.

+
Tip

Keep a short change log with the date, the zone or rule changed, who changed it and why. When something odd happens weeks later, that list is often the fastest route to the answer.

24Real-World and Industry Examples

Where this idea shows up in daily working life.

Okta is used by organizations of many sizes around the world, and many of them use network zones in some form. The scenarios below are typical examples of how organizations in different fields apply the same ideas.

A regional bank

The bank trusts only its branch offices and head office networks for staff who handle transfers. Customer-facing support staff are allowed from the same places, and the admin console is limited to the head office and the company VPN. Known anonymizing services are blocked.

A remote-first software company

Staff work from home, cafes and travel. The company does not trust any place, so it relies on strong proof everywhere, and uses zones mainly to block anonymizing services and to restrict automation tools to the addresses of its build servers.

A hospital group

Clinical staff use shared workstations in wards. The hospital trusts its ward network a little, requires stronger proof for patient record systems everywhere else, and blocks countries where it has no staff.

A university

Students and staff sign in from all over the world. The university uses zones to give the campus network a smoother path, while asking for extra proof for staff systems from off campus.

A retailer with seasonal staff

Temporary workers sign in from store networks. The retailer lists the store exit addresses in a zone, gives store staff a simple path for the till and stock apps, and requires stronger proof for finance systems.

Lessons from real projects in the industry

Teams that report smooth zone projects share the same habits. They study logs first, start small, name zones clearly, keep an emergency path, and review zones when the network changes. Teams that report pain tend to trust home and shared addresses, block a country on a hunch, or forget to update an office address after a move. The lesson is that zones are a living map that needs a keeper.

25A Design Walkthrough for a Small Company

Let us design a first set of zones from a blank page, step by step.

Imagine a made-up company called Brightwave, with two hundred staff. It has one head office, one warehouse, and a company VPN. Many people work from home two days a week. The company uses Okta for email, chat, a finance system and an admin console. Here is how a careful administrator might think.

Step 1: Name the places that are really under your control

Brightwave controls three places: the head office network, the warehouse network and the VPN. The administrator asks the network team for the public exit address of each. The answers are written down, along with the date and the person who confirmed them. Three IP zones are created, with clear names: “Brightwave HQ Egress”, “Brightwave Warehouse Egress” and “Brightwave VPN Egress”.

Step 2: Name the places you never want

The company has no staff or customers in some parts of the world. The logs show many failed sign-ins from there, and none that succeeded. The administrator makes a dynamic zone for those countries and another for anonymizing services. Before blocking, they put both into a rule that asks for the strongest proof for a few weeks. Only after confirming that no real person is affected do they move them to a blocklist.

Step 3: Write the rules from strict to relaxed

OrderConditionAction
1Admin console, and not in HQ or VPN zonesDeny
2Finance system, and not in HQ or VPN zonesRequire strong proof every time
3Any app, and in HQ, warehouse or VPN zonesAllow with a quick approval once a day
4Any app, anywhere elseRequire a phone approval on every sign-in

Step 4: Protect the way back in

The administrator creates two emergency accounts. They are protected with very strong proof and kept out of the admin console rule, because the first rule denies anyone outside the office or VPN. Their use is watched closely and tested every few months. This prevents the lockout that so often follows a rushed change.

Step 5: Test and watch

A pilot group of ten people tries the rules for two weeks. The administrator reads the log every day, looks for people who are treated differently from what was intended, and fixes the zones. Only then are the rules extended to the whole company.

Everyday analogy

This is like setting up a new office building’s door passes. First list the doors that really belong to you. Next, list the doors nobody should ever use. Then decide which passes open which doors, put the strictest doors first, keep a spare key in a safe place, and let a few people try the system before everyone gets a pass.

+
Tip

Keep the first design small. Brightwave has three trusted zones and two risky ones, and that is plenty. Complexity grows on its own, so there is no need to start with it.

26A Plain-English Glossary

Keep this chapter handy. Every word used in the guide is explained here.

Network words

Term

IP address

The numeric address that shows where internet traffic comes from.

Term

CIDR block

A short way to write a whole range of addresses at once.

Term

Gateway

The public address your traffic leaves from, such as an office router or VPN exit.

Term

Proxy

A middle server that passes traffic on behalf of someone else.

Term

VPN

A virtual private network. It sends your traffic through a company-controlled server.

Term

Split tunneling

A VPN setup in which only some traffic goes through the company server.

Term

Geolocation

An informed guess about the country or region of an address.

Term

ASN

Autonomous System Number. An identifier for a network operator.

Okta and security words

Term

Network zone

A named group of internet places that you reuse in Okta rules.

Term

IP zone

A zone defined by a list of addresses, ranges or blocks.

Term

Dynamic zone

A zone defined by traits such as location, network operator or anonymizing services.

Term

Blocklist

A list of places that are refused entry outright.

Term

Policy rule

An if-then statement that decides what happens at sign-in.

Term

MFA

Multi-factor authentication. Asking for more than one kind of proof.

Term

Defense in depth

Stacking many layers of protection so that one weak layer is not fatal.

Term

System log

Okta’s record of events, used to spot problems and investigate them.

27Frequently Asked Questions

Q1What is a network zone in Okta?
It is a named group of internet locations that you define once and reuse in Okta rules. It lets Okta treat sign-ins differently depending on where they appear to come from.
Q2What is the difference between an IP zone and a dynamic zone?
An IP zone is defined by exact addresses, ranges or blocks that you list. A dynamic zone is defined by traits, such as a country, a network operator or anonymizing services, which Okta works out using up-to-date databases.
Q3Does a zone allow or block anything by itself?
Not on its own, except for a zone used as a blocklist. Most zones only take effect when a rule refers to them, for example “if the person is outside the office zone, ask for a phone approval.”
Q4Should I put employees’ home addresses in a trusted zone?
No. Home addresses change often and can pass to strangers. Treat home networks as untrusted and make the second proof easy and quick instead.
Q5Why are VPN users sometimes treated as outside the zone?
The VPN may use new exit addresses that are not in your zone, or it may send Okta traffic out directly through split tunneling. Check the VPN’s real exit addresses and path with the network team.
Q6How accurate is country-based blocking?
It is a good clue but not perfect. Location databases can be wrong, and VPNs and mobile networks can make a person look as if they are in a different country. Use it with care and with a plan for exceptions.
Q7Can I lock myself out with zones?
Yes, especially with a blocklist or an admin console rule. Test with small ranges, change one thing at a time, and keep a protected emergency administrator path that is not tied to the zones you are changing.
Q8Does Okta need a second proof if the person is in a trusted zone?
It is safer to keep some proof even in trusted zones, especially for sensitive apps. A trusted place is a clue, not a guarantee that the person is who they claim to be.
Q9How often should zones be reviewed?
On a regular schedule, such as every few months, and after every network change like an office move, a new internet provider or a new VPN.
Q10Can zones protect automatic programs that use Okta?
Yes. Access used by programs can be limited to the addresses where those programs should run, so that a stolen key is of less use elsewhere. Check the current Okta documentation for how this is configured in your account.
Q11Where can I see which zone matched a sign-in?
In the system log. The record of a sign-in event shows the address Okta saw and can show which zone matched, which makes it the best tool for checking your design.

28Summary and Key Takeaways

Key Takeaways

  • A zone is a named place on the internet map. You define it once and reuse it in many Okta rules.
  • Two main kinds. IP zones list exact addresses, and dynamic zones describe traits such as location, network operator or anonymizing services.
  • Zones only matter when rules use them. Rules are read in order, and the first match wins, so order is part of the design.
  • A clue, not a guarantee. Addresses can be shared, hidden or out of date, so never rely on a zone alone. Keep a real second proof.
  • Trust little, review often. Trust only well-known places you control, never home or shared addresses, and update zones whenever the network changes.
  • Be careful with blocking. Test small, change one thing at a time, and keep an emergency administrator path.
  • Use the logs. The system log shows what address Okta saw and which zone matched, and it is the best way to check that your design works.