Join our Newsletter — 33% off our NHI Course
Home› FAQ› Cyber Security› How should security teams govern public tunnels used…
Cyber Security

How should security teams govern public tunnels used for development services?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated October 30, 2026 Domain: Cyber Security

Treat every public tunnel as an access boundary, not a convenience feature. Require authentication, explicit routing rules, and a named owner before exposure begins. If the tunnel fronts a service that handles secrets, callbacks, or admin functions, add IP restrictions and request validation so the endpoint never relies on obscurity or informal team knowledge.

What public tunnel governance needs to control

Public tunnels are not just a temporary convenience for local development. They create an externally reachable path into a service, so governance has to focus on who can reach it, what the tunnel is allowed to forward, and who owns the exposure. Treating the tunnel as a managed access path prevents “temporary” endpoints from becoming unreviewed production-like entry points.

The first control is scope. A tunnel should be tied to one named purpose, one named owner, and one clear service boundary, so the team can explain why it exists and when it should be removed. That matters most when the forwarded service has state, automation hooks, or administrative functions, because the tunnel then carries more than simple test traffic.

Just as importantly, the tunnel should not be trusted because it is hard to discover. Security teams should require explicit authentication and routing rules before exposure starts, then verify that the published endpoint only reaches the intended target. The Secure Software Development Lifecycle (SSDLC) Guide is a useful reference for turning those controls into release discipline rather than ad hoc approval.

Why development tunnels become a real security boundary

Development tunnels often inherit the weakest assumptions in the environment: that only trusted engineers know the URL, that the service is harmless because it is “just dev,” and that the tunnel can be ignored after setup. Those assumptions fail quickly when the service handles secrets, webhooks, callbacks, or admin workflows, because the tunnel can become a bypass around normal network controls.

IP allowlists and request validation are especially important when the exposed service accepts inbound callbacks or automations. In those cases, the security problem is not only exposure, but also trust in inbound traffic that may arrive from outside the normal corporate boundary. A tunnel that forwards callbacks without validating origin, content, and destination logic can let an attacker or misrouted integration trigger actions the team did not intend.

Public tunnels also create lifecycle risk. The longer the tunnel stays up, the more likely the URL is shared informally, copied into scripts, or reused across tasks that were never part of the original development need. That is why “temporary” must mean time-bounded, revocable, and visible in a service inventory, not just intended for short use.

For teams that rely on cloud or platform controls to monitor exposure, Security Command Center Guide is relevant because it shows how IAM roles, exposure visibility, and attack-path awareness fit into practical cloud governance.

How to set guardrails before a tunnel is published

Start with an approval rule that asks three questions: what service is exposed, who owns it, and what is the shutdown condition. If the answer is unclear, the tunnel should not go live. That simple gate catches the most common failure mode, which is publishing a tunnel first and inventing the ownership model later.

Next, define the minimum protective controls for the service behind the tunnel. For most development use cases that means authentication at the tunnel edge or the application edge, explicit routing to only the required path, and request validation for any endpoint that can receive callbacks, mutate data, or invoke downstream automation. Where the service touches credentials, tokens, or admin operations, add network restrictions and stronger review because the blast radius is no longer limited to a harmless test endpoint.

Finally, make the tunnel observable. Teams should be able to answer when it was created, who can reach it, what paths it forwards, and whether it is still needed. When a tunnel does not have a clear owner or expiration plan, it should be treated as an exception, not as an accepted working pattern. For cloud teams that need a more structured control model, the CSA Cloud Controls Matrix provides a broader governance lens for access and exposure management.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

CIS Controls v8, NIST SP 800-53 Rev 5 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
CIS Controls v8CIS-5 — Account ManagementPublic tunnel governance depends on controlled access, ownership, and timely removal of exposed access paths.
Recommendation — Restrict and review tunnel access so exposed development paths stay owned and removable.
NIST SP 800-53 Rev 5AC-4 — Information Flow EnforcementTunnels forward traffic, so routing limits and path restriction are central to the control problem.
IA-2 — Identification and Authentication (Organizational Users)The answer requires authentication before a public tunnel becomes a reachable access path.
SI-10 — Information Input ValidationRequest validation is needed when tunnels front callbacks or admin actions that consume inbound data.
Recommendation — Enforce information flow rules so tunnels only reach approved services and endpoints. Require authenticated access before allowing any tunnel to expose a service. Validate inbound requests so tunneled services do not trust unverified input.
NIST CSF 2.0PR.AA-05 — Identity and Access ManagementPublic tunnel governance is fundamentally about controlling who can reach and use the exposed service.
Recommendation — Apply access governance so each tunnel has explicit, bounded exposure and ownership.

Practitioner Guidance

What to prioritise: Prioritise tunnels that front services handling secrets, callbacks, or admin functions, because those are the ones where unauthenticated access and loose routing can translate into immediate misuse rather than mere nuisance.

What to verify: Verify that every public tunnel has a named owner, a defined expiry, and a documented reason for exposure. If you cannot trace the tunnel to an accountable team and a specific service path, it is already under-governed.

Decision rule: If the tunnel is only for local development and no external system depends on it, keep it short-lived and tightly scoped. If it must receive external traffic, treat it like a controlled inbound interface and require authentication, routing constraints, and request validation before use.

Practitioner takeaway: The security mistake is not using a tunnel, it is letting a tunnel behave like an informal exception to normal access control. A governed tunnel has an owner, a purpose, a boundary, and a shutdown point.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 30, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org