What you’ll learn: the two concrete ZTNA patterns for publishing a private app, the identity, posture and logging decisions that actually differentiate them, the failure modes that quietly reintroduce network access, and a validation method that proves the design is really Zero Trust.
Why VPN-for-one-app is the wrong default
A VPN grants Layer-3 reachability: the device joins the network and can route to the subnet. That is disproportionate for a single application and it has three costs — it widens the blast radius (a compromised endpoint now reaches everything the route exposes), it couples authorization to tunnel setup rather than to each request, and it drags a client lifecycle behind it. Zero Trust Network Access inverts the model: the user never gets a route; an identity-aware proxy sits in front of the app and authorizes every request.
What ZTNA actually guarantees
- No network-level access — the user never receives an IP route to the app’s subnet.
- Per-request authorization — identity and policy are evaluated on every request, not once at connect time.
- Outbound-only publishing — the app is exposed through a connector that dials out, so no inbound firewall holes and no public IP.
Pattern A — identity-aware edge proxy
A lightweight connector next to the app dials out to a provider’s global edge. The edge terminates TLS, authenticates the user against your IdP, applies policy (and device posture), then proxies the request. It fits HTTP(S) apps with globally distributed users and fast entry points. The trade-offs are real: traffic transits a third-party edge (egress and data-residency implications), and the origin typically sees the connector’s IP as the source, which changes how you log and segment.
Pattern B — cloud-native IAP (BeyondCorp-style)
Your cloud provider’s own identity-aware proxy fronts the app inside your tenancy. Traffic stays within the cloud you already run, identity is your cloud IdP, and access logs land in native tooling. It fits when the app lives in that cloud, when residency or egress rules discourage a third-party edge, and when you want one control plane. The trade-off is reach: it is strongest for apps in that provider, weaker as a universal front door across many environments.
The decisions that actually differentiate
- Where the app lives — put the proxy closest to it.
- Identity — reuse existing SSO; never create a second identity silo.
- Device posture — managed-device or certificate check before granting, not just “a valid login”.
- Latency path — a long edge detour hurts latency-sensitive apps.
- Egress & residency — does traffic leaving your tenancy break a rule?
- Logging destination — where audit lands decides your detection story.
- Operational ownership & cost — who runs the connector and rotates secrets; per-user vs per-request economics.
Failure modes that quietly reintroduce network access
- The app keeps a public IP or an inbound rule — the proxy becomes bypassable; the front door is irrelevant if the back door is open.
- DNS resolves to the real internal IP that is still routable from the client LAN — traffic never engages the proxy.
- Posture not enforced — “allow” means any device, so an unmanaged laptop passes.
- Sessions not re-evaluated — a long-lived session outlives the condition that granted it.
Validation: prove the negative
Stand up a throwaway app in a private subnet with no public IP. Wire the chosen proxy, a test IdP tenant, and one allow policy for a test user. Then prove the negatives: the app is unreachable by IP, reachable only through the authenticated proxy URL, and a posture-failing device is denied. An allowed login proves nothing if the app is still routable underneath — the negative test is the design’s real acceptance criterion.
Takeaway
Pick the proxy closest to where the app and its identity already live, enforce a real device-and-identity policy, and keep the app itself unroutable. The pattern matters less than the discipline of authorizing every request and proving the negative before you call it Zero Trust.
Generic, vendor-neutral patterns from my own lab and reading. No client- or employer-specific configuration.
Questions or feedback? Connect with me on LinkedIn: Mokrane Assam.