Skip to content
javaguru

Understanding Zero Trust in 5 Minutes

4 min read Hưng Phạm
On this page
If you work in technology, you have almost certainly heard of Zero Trust – a modern security model that helps stop hackers and protect important data.

If you work in technology, you have almost certainly heard of Zero Trust – a modern security model that helps stop hackers and protect important data. This article will help you understand Zero Trust quickly, along with illustrative examples, its pros and cons, and how it differs from traditional security.


1. What is traditional security? (The "implicit trust" model)

Traditionally, most businesses use a "Castle-and-Moat" security model:

  • The internal network is treated as "inside the castle" - safe.
  • The moat (the firewall) is built at the network edge to block threats from outside.
  • Once you have crossed the moat (connected to the internal network), you are trusted by default and can access a wide range of resources.

The problem: If a hacker steals credentials or infects a device inside the network with malware, they can move laterally and access the entire system.


2. What is Zero Trust? (The "no default trust" model)

A simple definition:

Zero Trust is the security model of "Never Trust, Always Verify". Every access request, whether it comes from inside or outside the network, is treated as suspect and must go through strict identity verification, authorisation and encryption.

This means:

  • There is no default "safe zone". The internal network boundary is no longer treated as a trust boundary.
  • Every access to a resource must be authenticated, authorised and encrypted.
  • Access is granted on the principle of least privilege and only for the time needed (Just-In-Time).

3. The core principles of Zero Trust

According to standard frameworks (such as NIST's), Zero Trust rests on three main pillars:

  1. Verify Explicitly: Always authenticate and authorise based on all available data points (user identity, location, device state, the service being accessed, ...).
  2. Use Least Privilege Access: Grant users only just enough access to carry out their tasks, and for the shortest possible time.
  3. Assume Breach: Design the system on the assumption that the attacker is already inside the network. From there, apply micro-segmentation to prevent lateral movement, encrypt data and monitor continuously to limit the blast radius of a breach.

4. Concrete examples

4.1 Accessing company email

  • Traditional security: An employee on the internal network accesses email without any further authentication.
  • Zero Trust: Even though the employee is on the company network, when they open an email containing sensitive data, the system checks identity (have they signed in via SSO?), device state (are all security patches installed?) and may require multi-factor authentication (MFA) if it detects an unusual context.

4.2 Accessing an internal server

  • Traditional security: A single login to the network is enough to access every server in that network segment.
  • Zero Trust: Each server is protected as its own "castle" thanks to micro-segmentation. Access to a server must be authorised by a central identity provider and is granted only if the user/algorithm meets the policy exactly.

4.3 An employee working remotely

  • Traditional security: Use a VPN to "slip" into the internal network, after which you are trusted and have broad access.
  • Zero Trust: Instead of a traditional VPN, the employee connects directly to each application through secure proxies (e.g. ZTNA - Zero Trust Network Access). The system continuously assesses risk (login location, behaviour) and can block access if it detects something unusual, even after authentication has succeeded.

5. Zero Trust vs traditional security

Criterion Traditional security (Castle-and-Moat) Zero Trust
Philosophy "Trust, then verify" "Never Trust, Always Verify"
Trust boundary At the network perimeter At each individual resource (user, device, app, data)
Authentication Once, when joining the network Continuous, context-aware verification for every access session
Access rights Usually granted broadly by network zone Least Privilege and Just-In-Time
Data protection Focused on perimeter defence Micro-segmentation and encryption everywhere
Assumption Threats come from outside Assume Breach

6. Conclusion

Zero Trust is not a product; it is a security strategy and framework. It is the inevitable choice for the era of remote work, cloud computing and today's sophisticated threats.

This model requires a shift in thinking from "trust by default" to "continuous verification", helping organisations protect their data and applications more flexibly and effectively, wherever they live.

Put playfully: Zero Trust is the "always be suspicious of everyone, including yourself" approach, but in return it produces a defensive system with a superior ability to detect and stop threats.

Also available in Tiếng Việt Tiếng Việt →

— Keep reading

Related notes

all
Security

AI-Native Security: Building a Proactive Defense System in the AI Era

For years, the software security process has usually relied on a fairly familiar model: developers write code, the CI/CD system runs security scanning tools, the security team assesses the results…

25 min read
Security

When an AI Agent Becomes a Security Hole

You hand an AI Coding Agent a very familiar task: “Fix this bug, update the tests and open a Pull Request.” The Agent starts working like any other day.

11 min read
Security

Security Notes When Working on a Software Development Project

“Security is everyone’s responsibility.” – A familiar saying, but in the reality of a project, it is the thing most often forgotten.

10 min read