When someone opens your dealer portal, are they connecting from inside the company network, from home, or from a personal phone? Under the traditional model that answer largely decided everything: if you are on the inside, you are trusted. But once business software lives in the cloud, staff work remotely and service accounts call each other across systems, there is no "inside" left to trust. Zero trust architecture turns that assumption around: no request is trusted because of where it comes from, and every access is verified separately against identity, device and context.
In this guide we explain what zero trust architecture is, how it differs from perimeter security, its five principles and layers, how micro-segmentation reduces lateral movement, how conditional access rules work, how to calculate session lifetime, how to manage service accounts, how to phase the adoption, what it does to user friction and what it costs. The article is defensive in focus and contains no attack techniques, tool names or product names. All figures are illustrative; they are not real measurements or industry averages.
What Is Zero Trust Architecture?
Zero trust is a security architecture in which every request to an application, dataset or service is evaluated in real time against who is asking, from which device, under which conditions and for what resource. Instead of "verify once, then let through", the rule is "verify every time, grant only what is needed".
Identity carries most of the weight. We covered authentication in our MFA and SSO guide and who can reach what in our role-based access control guide. This article covers the framework that ties those pieces into one architecture and the way to build it step by step. Common frameworks share the same core principles; which one you use as a reference depends on your organization's requirements and your advisor.
We recommend reading: What Is MFA and SSO? Multi-Factor Authentication, Single Sign-On and Password Policy Guide
How Does Zero Trust Differ from Perimeter Security?
Perimeter security is the castle-and-moat model: you keep the boundary tight and give anyone inside broad rights. In zero trust the boundary is still a checkpoint, but not the only one; every resource has its own door.
| Topic | Perimeter security (castle and moat) | Zero trust |
|---|---|---|
| Where does trust come from? | Network location (internal network) | Identity, device state and context |
| Verification frequency | Once at login | On every request or when risk changes |
| Internal traffic | Mostly open | Denied by default, allowed flows are explicit |
| If one account is compromised | Most internal systems become reachable | Only that account's permitted resources are affected |
| Cloud and remote work | Needs a tunnel back to the network | Same rule regardless of location |
| Weak point | Trusting everyone who gets in | Effort spent on policy and inventory |
Perimeter controls are not obsolete; zero trust adds layers beside them that also inspect the inside.
What Are the Five Principles of Zero Trust?
Frameworks name them differently, but five principles are common to all.
- Verify explicitly: Look at every signal, such as identity, device and location; no single signal is enough.
- Grant least privilege: Users and services reach only what the job requires, time-limited and scoped.
- Assume breach: Design on the assumption that an account may already be compromised; the aim is to limit impact.
- Use context and device state: The same user does not have the same rights on a managed device and an unknown one.
- Evaluate continuously: The decision is refreshed during the session; if risk rises, access narrows or extra verification is requested.
The third principle is the one most often skipped. "We already verify strongly" is not enough; what happens when verification is bypassed must be designed too.
What Layers Does Zero Trust Consist Of?
The architecture is thought of in five layers. Each answers a question and needs a control.
| Layer | Question it answers | Example control |
|---|---|---|
| Identity | Who is the request from? | One identity source, MFA, short-lived sessions |
| Device | Which device, in what state? | Managed device, current system, disk encryption |
| Network | By what path, reaching whom? | Micro-segmentation, deny by default |
| Application | Which function is being called? | Role and object-level authorization, API gateway |
| Data | Which data is being touched? | Classification, encryption, access logging |
For the application layer, our OAuth and OpenID Connect guide covers the authorization flow, and our API security guide covers the API side.
How Does Micro-Segmentation Reduce Lateral Movement?
Lateral movement is someone who has entered one system moving on to others inside the network. On a flat network every node can talk to every node; the number of possible connections for n nodes is n(n−1) ÷ 2. Segmentation closes the unauthorized flows between groups and cuts that number.
Example: an environment of 40 nodes made up of the dealer portal, the internal admin panel, databases and helper services (illustrative).
| Structure | Calculation | Possible paths | Reachable if one node is compromised |
|---|---|---|---|
| Flat network | 40 × 39 ÷ 2 | 780 | 39 nodes |
| 5 segments (8 nodes each) | 5 × 28 + 12 allowed flows | 152 (−80.5%) | 7 + 2 = 9 nodes |
| 10 segments (4 nodes each) | 10 × 6 + 12 allowed flows | 72 (−90.8%) | 3 + 2 = 5 nodes |
Calculations: with 8 nodes, 8 × 7 ÷ 2 = 28; with 4 nodes, 4 × 3 ÷ 2 = 6. When the reachable count falls from 39 to 9 the blast radius shrinks to 9 ÷ 39 ≈ 23%, and at 5 it shrinks to 5 ÷ 39 ≈ 13%. Smaller segments cut impact further but increase the allowed-flow list and the management effort; the balance point depends on your workload.
Allowed flows should be written as "who to whom, on which port", and "everything else is denied" should be the default. For recording those flows, the event schema in our audit log guide can be reused.
How Do the Policy Decision Point and Conditional Access Work?
Every request first goes to a policy decision point: signals are collected, rules are evaluated, and the result is "allow", "ask for extra verification" or "deny". An enforcement point applies that decision. The rules live in one place; applications do not make up their own.
A simple model scores signals (illustrative weights): unmanaged device 30, unusual location 20, off-hours 10, sensitive resource 25. Thresholds: 0–29 allow, 30–59 step-up verification, 60 and above deny.
| Situation | Signals | Score | Decision |
|---|---|---|---|
| Dealer manager, company device, business hours, order list | None | 0 | Allow |
| Same user, personal phone, off-hours | 30 + 10 | 40 | Step-up verification |
| Administrator, company device, off-hours, admin panel | 10 + 25 | 35 | Step-up verification |
| Admin panel, personal device, unusual location | 25 + 30 + 20 | 75 | Deny |
In the first weeks the scores are only logged and block no one (shadow mode); the false-block rate is measured and thresholds are tuned. The decision and its reason should be recorded so that when a denial is questioned, "why" can be answered. For the role model itself, see the RBAC guide.
How Do You Set Session Lifetime and Re-Verification Frequency?
Every re-verification shortens the life of a hijacked session but costs the user time. The calculation has two sides: the number of prompts and the window an attacker could use.
500 users, 22 working days a month, an eight-hour day, 10 seconds per verification (illustrative):
| Policy | Prompts per day | Prompts per month | Time per month | Monthly cost (₺300/h) |
|---|---|---|---|---|
| Once a day (8 h) | 1 | 11,000 | 30.6 h | ₺9,167 |
| Every hour | 8 | 88,000 | 244.4 h | ₺73,333 |
| Every 15 minutes | 32 | 352,000 | 977.8 h | ₺293,333 |
| Mixed: 460 users 8 h, 40 administrators 1 h | 1 / 8 | 10,120 + 7,040 = 17,160 | 47.7 h | ₺14,300 |
Calculation: 500 × 22 × 32 = 352,000; 352,000 × 10 s = 977.8 hours. The mixed policy needs about 20.5 times fewer prompts than the 15-minute policy (352,000 ÷ 17,160); the window is 480 minutes for general users and 60 minutes for administrators. Compared with the baseline, the extra load is 17,160 − 11,000 = 6,160 prompts, or 17.1 hours (₺5,133) a month.
Practical rule: keep the general session long and silently renewed, and make sensitive actions require immediate step-up verification. Let risk, not the clock, trigger verification. For the design of session and refresh tokens, see the token lifetime section of our OAuth guide.
How Do You Manage Service Accounts and Machine-to-Machine Identity?
As important as human identity, but less visible, are machines: integrations, scheduled jobs and service-to-service calls. In most environments their credentials are generated once and never change for years.
Example inventory (illustrative): 80 service accounts; 52 have a long-lived key (65.0%), 18 have no clear owner, 14 are broadly privileged. Target state: keys are replaced with short-lived tokens, leaving 12 of the 52 long-lived keys (15.0%). A key is valid for 180 days (4,320 hours) while a short-lived token lasts 1 hour: the exploitable window shrinks 4,320-fold.
- Every account has an owner and a purpose; ownerless accounts are closed.
- A separate identity per service, with the narrowest rights; no shared "integration" account.
- Short-lived, automatically renewed tokens are preferred; remaining keys are kept in a vault and rotated.
- Service-to-service calls are authenticated too; being on the internal network is not enough.
We recommend reading: How to Set Up Secrets Management: Inventory, Vault, Rotation, Short-Lived Credentials and Leak Response Guide
How Should You Plan the Move to Zero Trust?
Zero trust is not built in one go. First you see, then you verify, then you restrict; if the order is reversed you shut down an environment whose rules you do not know and work stops.
- Inventory (4 weeks): List users, devices, applications, service accounts and flows. You cannot protect what you cannot list.
- Identity (6 weeks): One identity source, MFA, joiner and leaver process. We have a separate guide on account lifecycle.
- Device (6 weeks): Define a managed device and check its state; give unmanaged devices restricted access.
- Segment (8 weeks): Separate critical assets first (databases, the admin panel), then write the allowed flows.
- Monitoring (4 weeks): Decision and access logs, alerts, risk score thresholds. The alerting principles in our software monitoring guide apply here.
- Review (every quarter): Review exceptions, thresholds and new flows.
If the phases run back to back, the total is 4 + 6 + 6 + 8 + 4 = 28 weeks. If the device phase overlaps the last 2 weeks of identity and monitoring overlaps the last 4 weeks of segmentation, the plan shortens to 28 − 2 − 4 = 22 weeks (weeks 1–4, 5–10, 9–14, 15–22, 19–22).
What Do User Friction and the Help Desk Look Like During the Move?
Every tightening creates some friction; the aim is to manage it. The most reliable path is a wave-based rollout: start with a small pilot, and each wave's lessons make the next one easier.
Example: 500 users, waves of 25 + 100 + 200 + 175 (illustrative). Help desk tickets in the first month of each wave:
| Wave | Users | Tickets | Per user |
|---|---|---|---|
| Pilot | 25 | 20 | 0.80 |
| Wave 1 | 100 | 50 | 0.50 |
| Wave 2 | 200 | 70 | 0.35 |
| Wave 3 | 175 | 42 | 0.24 |
| Total | 500 | 182 | 0.36 |
If everyone moved on the same day, the pilot rate would persist: 500 × 0.80 = 400 tickets. The wave-based rollout produces 182 tickets; the difference is 218 tickets, a reduction of about 54.5%. At 20 minutes a ticket and ₺300 an hour, 182 × 20 = 3,640 minutes ≈ 60.7 hours (₺18,200) against 8,000 minutes ≈ 133.3 hours (₺40,000), a ₺21,800 gap.
Three things reduce friction: advance notice with a short guide, a warning period before blocking, and a time-limited, manager-approved exception path for emergencies. Exceptions are logged and expire on their own.
How Do You Calculate the Cost and Payback of Zero Trust?
The return on zero trust is partly operational (access requests, remote connection management) and mostly a reduction in expected loss. Write the two separately.
Example (illustrative): 60 person-days × ₺9,000 = ₺540,000 for implementation; help desk during the move ₺18,200; total investment ₺558,200. Annual running cost: licences and operations ₺120,000 + extra verification time ₺61,600 (₺5,133 × 12) = ₺181,600.
| Item | Annual value |
|---|---|
| Expected loss, before: 0.10 × ₺3,000,000 | ₺300,000 |
| Expected loss, after: 0.07 × ₺1,500,000 (smaller blast radius) | ₺105,000 |
| Risk reduction | ₺195,000 |
| Access-request effort: 40 → 12 h/month, 28 h × ₺300 × 12 | ₺100,800 |
| Running cost | −₺181,600 |
| Net annual gain | ₺114,200 |
Payback: ₺558,200 ÷ ₺114,200 ≈ 4.9 years, about 58.7 months. If the risk reduction is only half (₺97,500), the net gain is ₺97,500 + ₺100,800 − ₺181,600 = ₺16,700 and payback is roughly 401 months; if no risk benefit is counted at all, the net is −₺80,800. These numbers make one thing clear: zero trust does not pay for itself through operational savings, and the decision rests on the weight of the risk. Recalculate with your own expected-loss estimate and company policy; probability and impact estimates are uncertain and should be given as ranges.
What Mistakes Are Common When Adopting Zero Trust?
- Thinking buying a product finishes the job: It is an approach; inventory and policy effort cannot be bought.
- Segmenting without an inventory: Closing flows you do not know about causes production outages.
- Forgetting service accounts: Human access tightens while machine identities stay open.
- Forcing everything in one day: A one-day cutover swamps the help desk compared with shadow mode and waves.
- Not logging exceptions: An open-ended exception becomes the rule over time.
- Not measuring: If the false-block rate, coverage and exception count are not tracked, improvement stays invisible.
Secure Custom Software with İnovabil
At İnovabil our focus is building firm-specific software from scratch: custom software, ERP, CRM, e-commerce, web, mobile and integration. Role-based authorization, audit logs and secure hosting are our recorded capabilities; they are the application-layer counterparts of the zero trust approach (identity, role, record). Network segmentation and device management are a separate job to be handled with your infrastructure team, and we recommend getting support from an independent security specialist for it.
We built CRM, purchasing and mobile for Avcılar İnşaat; a purchasing system for İZBAN; logistics and shipment planning for Karyak; and warehouse management plus a complaint and support management system for Sleepy. To write the access model down during requirements analysis, send us a short summary of your processes; we will work out together who accesses what, and under which conditions. For obligations around personal data, consult your legal advisor.
We recommend reading: Our software development process: step by step from analysis to launch
Frequently Asked Questions
What is zero trust architecture, in short?
A security architecture that trusts no request because of its location and verifies every access separately against identity, device state and context. The aim is to keep the impact small when an account or device is compromised.
Do you have to remove the VPN for zero trust?
Not necessarily. A VPN only gives entry to the network; if it grants broad rights inside, that is not zero trust. Used with application-level access and segmentation, dependence on the VPN shrinks, and the decision to remove it rests on inventory and risk analysis.
Can small businesses apply zero trust?
Yes, at an appropriate scale. One identity source, MFA, least privilege, a managed-device rule and a service account inventory are valuable even in a small environment. Network segmentation and advanced risk scoring are added as the environment grows.
Does zero trust wear users out?
If badly designed, yes. Keeping the general session long and silently renewed, making sensitive actions require immediate verification and rolling out in waves all reduce friction. In the example, the wave-based rollout cut help desk tickets by about 54.5%.
Where should you start with zero trust?
With inventory. List users, devices, applications, service accounts and flows, then begin with identity and MFA; segmentation comes last and starts with critical assets. Spend the first 4 weeks only on seeing.