Home / Security / Confirm staging and development environments are not publicly accessible
Advanced Operational · Security Ring

Confirm staging and development environments are not publicly accessible

20-30 min Impact: high Effort: low ✓ Manual completion

Confirming staging and development environments are not publicly accessible closes a genuinely common breach vector, a forgotten staging.yoursite.com, often running with weaker security or containing test data, sitting fully exposed to anyone who finds or guesses the URL.

Staging environments are frequently set up quickly without the same security rigor as production, and being forgotten about after the initial development phase is extremely common.

The full picture

Confirming staging and development environments aren't publicly accessible addresses a genuine, surprisingly common security gap — these environments frequently contain less mature security configurations than production, sometimes including test data, debugging information, or relaxed security settings specifically because they're intended for internal development use rather than public access.

The genuine risk here compounds when these environments are inadvertently publicly accessible — an attacker discovering an exposed staging environment potentially gains access to a version of your application with weaker security controls, possibly including debugging features that reveal sensitive information, or test credentials that might provide broader access than intended.

This exposure commonly occurs through deployment or infrastructure configuration oversights — a staging environment set up for internal team access sometimes ends up technically reachable from the broader internet due to network configuration that wasn't specifically restricted to internal access only, representing an unintentional gap rather than any deliberate exposure decision.

Verification requires genuinely confirming these environments are actually restricted through proper access controls — IP allowlisting, VPN requirements, or authentication requirements specifically for these non-production environments, ensuring they remain genuinely accessible only to your legitimate internal team rather than inadvertently exposed to the broader public internet where their typically weaker security posture creates genuine additional risk.

How to do it

  1. 1
    Identify every staging or development environment you have
    Check your DNS records and hosting dashboard for anything beyond your main production site.
  2. 2
    Visit each directly and confirm its actual access level
    Is it genuinely restricted, or fully open to anyone who finds the URL.
  3. 3
    Restrict access appropriately
    IP allowlisting or password protection for anything that needs to remain accessible to your team.
  4. 4
    Decommission anything no longer genuinely needed
    Removing an unused environment entirely is the cleanest fix when it is no longer actively used.

Common mistakes

How you will know it is done

Every staging or development environment is confirmed either properly restricted or decommissioned.

Track this in your hive

The Security Ring turns this into a real, permanent mission — mark it complete once you have genuinely done it.

Open this mission in H.I.V.E. →