Public and Private Segments
An application is rarely one thing. Users need its front end, usually a virtual IP on a load balancer. Only administrators and developers need what sits behind it: application servers, databases, management consoles. A wildcard grants all of it to everyone who reaches it. Splitting each application into a public and a private segment is the single change that removes the most exposure.
The pattern
| Segment | Contains | Granted to |
|---|---|---|
| Public | Front end: load balancer virtual IPs, the hostnames users type | The users of the application |
| Private | Back end: application servers, databases, administration consoles | The administrators’ or developers’ group |
Two segments, two access rules, both written on groups.
How to spot it in the data
In the Domains + Ports drilldown of ZPA Diagnostics, then in the Users discovery for each destination, the pattern is visible: one hostname reached by many users, and a set of servers reached by very few.
Example (illustrative). An identity management application has six servers; the load balancer publishes two of them. Thousands of users reach the load balancer’s hostname every day, and only the two platform administrators reach the servers directly. Today any user can open a connection to all six. Public segment: the load balancer hostname, to everyone. Private segment: the six servers, to the administrators’ group.
Example (illustrative). A logging platform is published with a dozen hostnames, open to every user. Traffic goes only to its two front ends, from a few dozen people in two weeks. The question to the owner is not only public or private, but whether the public part is for everyone at all.
When a segment stays mixed
Sometimes public and private cannot be separated yet: the front end and the administration share a hostname, or the inventory is incomplete. Mark the segment as mixed (see Naming and describing segments) so it stays on the list.