What It Actually Means
It is where a change is rehearsed. It is also where you look at new work and say whether it is right before it becomes everybody’s problem.
Why You Want One
You see things before customers do. Sign-off happens against something running rather than a description.
Releases are rehearsed. Deployment steps, database changes and configuration are exercised somewhere harmless first. Most release failures come from something about the environment rather than the code, and staging is where that gets found.
Testing is realistic. A developer’s laptop differs from production in a hundred ways. A close copy catches problems that only appear at something like real scale or with something like real data.
The Two Traps
It holds real customer data and is protected less carefully.
It is common because the easiest way to make staging realistic is to copy production into it. The result is a full set of your customers’ personal data sitting in an environment with weaker passwords, no second factor, wider access, and frequently no restriction on who can reach it from the internet.
Attackers know this. Staging environments are actively looked for, and they are a well-worn route to production data without touching production. Under UK GDPR a copy of personal data is still personal data, and a breach there is a breach.
The fixes are ordinary: anonymise the data when copying, restrict access by network or login, exclude it from search engines, and hold it to the same standard as production or do not put real data in it.
It drifts. Staging diverges from production a little at a time, through a configuration change made in one and not the other, a manual fix nobody replicated, data that has grown very different. The value of the rehearsal falls as the copy stops resembling the original, and the point at which it has stopped being useful is not announced.
What To Ask
- Does staging contain real customer data? If yes, is it anonymised, and who can reach it?
- Is it reachable from the internet without a login? Frequently yes, and frequently nobody has checked.
- Is it excluded from search engines? Staging copies do get indexed, which is both a duplicate-content problem and an information leak.
- How close is it to production, and when was that last verified?
- Who signs off there before release? Someone should, and it should be someone from your side.
Your Part In It
Staging is where you do your job in the process.
Looking at work there, before release, is what makes the whole arrangement worthwhile. Approving on the basis of a description and then reacting once it is live converts a cheap correction into an expensive one, and it puts the team in the position of fixing something under pressure that could have been adjusted calmly.
An hour spent in staging before a release is consistently the best-value hour a client spends on a project.
More terms are in the glossary.