Skip to main content
All Articles

Security Basics 02|How many doors does your system actually have: start by listing the ones facing outward

Category Security Date 2026-10-26

Author
恩梯科技
441 views 11 min read

When you ask whoever runs your systems whether the website is secure, they may look at your home page and tell you the host has a firewall, connections are encrypted, and the passwords are complicated. All true — and all about the one front door you look at every day.

In Security Basics 01|An advisory just landed: how do you know whether it affects you we covered how to confirm which version a system is actually running. In practice, though, the more common situation is this: the thing that went wrong was never on the list you had in mind. The website, the admin panel, the mailbox, assorted external services — anything reachable from the internet, or holding a pass that can touch company data, counts as an outward-facing door. If you cannot list them, you cannot protect them. This is the second piece in our security basics series, and it contains no technical commands at all. It asks you to do one thing an owner can do unaided: list every door your company has facing outward.

Why one system is really more than one door

To an owner, the company's system may simply be "the website" or "the membership system". On the internet it is several independently running entrances stitched together. The UK's National Cyber Security Centre (NCSC) puts it plainly in its guidance 10 Steps to Cyber Security: Asset Management — systems tend to grow organically over time, so keeping track of which assets exist in your environment is not easy, and security incidents often happen precisely because an organisation did not fully understand what was in its environment: perhaps an unpatched service, or a cloud storage account exposed to the outside.

That lack of clarity tends to come from three places:

  • Opened for convenience, never closed: a staging URL or an older interface was opened to make a deadline, to let an outside vendor test, or to move data across just this once. The project ended; the entrance stayed on the internet.
  • The person left, the door stayed open: as Your Engineer Left and the System's Still Running: 12 Things to Get Back First noted, a system does not break on the day someone leaves — it breaks months later, at the least convenient moment. If a departed colleague's or a former vendor's account was never revoked, that door is still open.
  • A product built fast with AI, where nobody counted the services it wired up: as Projects Built With Cursor, Claude Code, or Lovable: What to Prepare Before Handing Them to Engineers described, development went so smoothly that a few clicks of "allow" connected the database, the mail sender and the payment provider — and by the end nobody could say how many passes were in hand, or whose name each service was registered under.

Getting the doors under control does not start with buying more expensive protection. It starts with counting them. You can inventory your outward-facing entrances in the four groups below.

Group one: websites people see, and staging sites

The front door is the company or product home page you open every day, but there may be side doors next to it. Anything under your company's domain that is reachable from outside counts:

  • Production sites and campaign pages: besides the main site, are the single-page sites built for past events or ad campaigns still up? If the campaign ended long ago and nobody maintains or updates the page, it is the easiest part of the whole system to break into.
  • Staging sites and older interfaces: the Open Web Application Security Project (OWASP) singles this out in Improper Inventory Management (API9:2023) in its 2023 API Security Top 10 — attackers frequently gain unauthorised access through unpatched older interfaces or test environments held to weaker protection requirements. More dangerous still: those different versions or test environments sometimes sit in front of the very same database holding real data.

What to ask the person responsible: besides the main site we look at daily, are there other addresses under the company domain reachable from outside? Are the staging site and the older version still open? Are they connected to the production database?

Group two: admin panels and infrastructure consoles

This group of doors is not for customers; it is for the people who administer the system. Precisely because the privileges are the highest, a leaked password or an unrevoked permission means whoever walks in sees everything the company has:

  • Admin panels for the website and business systems: the pages used to list products, read customer orders and export reports. Two things to confirm. First, how many accounts can log in right now, and whether any of them belong to people who have left. Second, as The Security Landmines AI-Written Code Steps on Most: Permissions, Keys, Input Validation explains, whether the backend genuinely checks identity and permissions, or merely hides the buttons on screen.
  • Cloud hosting and domain registrar consoles: an entrance one level above the website's own admin panel. Whoever holds the domain console can point your address somewhere else; whoever holds the hosting console can shut the machine down or delete the data. As Can't Find the Original Vendor: Getting Your Domain, Hosting, and Source Code Back describes, the first step for both is the same: establish whose name it is in, who is paying for it, and who can log in.
  • Remote management ports for the database and the host: for convenience, engineers sometimes open remote access to a database or a host to the whole internet. In What a System Health Check Actually Looks At: Code, Database, Deployment, Security, one question we always ask of a database is exactly this: is it open to the entire network? As a rule that door should only admit the site's own code, not stand open to the outside.

What to ask the person responsible: how many people in total can get into our admin panel and hosting console right now? Is the database open directly to the whole internet?

Group three: the company mailbox and the code repository

Why are a mailbox and a code repository system entrances? Because they hold the keys to every other entrance:

  • The administrative mailbox every service is bound to: Your Engineer Left and the System's Still Running: 12 Things to Get Back First warned that if the domain, hosting or certificates are bound to a personal mailbox, expiry notices never reach the company and the account cannot be recovered once that person is gone. The reverse also holds: as long as domains and services are registered to a company mailbox, control can be recovered through the registrar's and provider's reset flows even if the password is lost. So looking after the company mailbox that receives reset mail amounts to holding the master switch for every service.
  • The code repository: this is where the system's blueprints live. The Security Landmines AI-Written Code Steps on Most: Permissions, Keys, Input Validation noted that one of the most common landmines is writing an external service's key directly into the code — and once that code is pushed to a repository, anyone with access to the repository (or, when a repository is mistakenly set to public, everyone) can read that pass.

What to ask the person responsible: for all our hosts, domains and external services, is the owner a company mailbox or someone's personal one? Is the code repository private or public, and which accounts can see it right now?

Group four: connected third-party services and their keys

Your system probably connects to a range of outside services: card payments, an SMS provider sending verification codes, a service that sends notification mail, cloud storage, or an external AI model.

Those services do not rely on a human typing a username and password each day. They rely on a key — the pass between your code and the outside service. As The Security Landmines AI-Written Code Steps on Most: Permissions, Keys, Input Validation explains, whoever holds that key can act in your name and spend your money, and you may only discover the leak when a bill arrives several times higher than usual, or the provider suspends the service.

When nobody knows how many outside services the system actually uses, the most reliable clue is not in an engineer's head — it is in finance. Can't Find the Original Vendor: Getting Your Domain, Hosting, and Source Code Back set out the method: pull the company credit card statement and the recurring monthly charges and work down them. As long as something is still being paid for, some service is still running.

What to ask the person responsible: checking against the company's monthly charges, which outside services does our system connect to now? Where is each key kept? If one of those keys had to be replaced today, who knows where to go to replace it?

A system-entrance inventory an owner can fill in alone

You do not have to wait for an engineer to have time. This inventory is the starting point for the "where the system runs" and "who can log in" pages in Don't Let Handover Become a Black Box: A Minimal Documentation Set to Leave Behind. You can fill in the first half yourself from the company's usual bookmarks and monthly statements; take the blanks you cannot fill straight to whoever runs the system:

Entrance categoryExamplesAddress or service nameWhose name it is inWho pays the billWho holds access or keysStill in use?
Websites people seemain site, campaign pages, staging(fill in the address)(company or personal mailbox)(payment method)(internal or vendor list)in use / can be retired
Panels and consolessite admin, hosting provider, registrar(fill in the location)(company or personal mailbox)(payment method)(internal or vendor list)in use / can be retired
Mailbox and repositoryadmin mailbox, code repository(fill in the provider)(company or personal mailbox)(payment method)(internal or vendor list)in use / can be retired
Third-party servicespayments, SMS, mail, AI services(fill in the provider)(company or personal mailbox)(payment method)(where the key is kept)in use / can be retired

Once those four rows are filled in, you can make three management decisions without reading a line of code:

  • Whatever the last column confirms is unused, shut it down: the UK's National Cyber Security Centre (NCSC) recommends explicitly in 10 Steps to Cyber Security: Asset Management that systems and accounts no longer in use, or no longer linked to a business need, be formally decommissioned — removing the data and closing the corresponding accounts and credentials as part of that process — because an asset you no longer need is a liability that only brings vulnerability and risk.
  • Whatever is still in a person's or a former vendor's name, move to the company: while they can still be reached, ask them to transfer account ownership to a company mailbox, and change the passwords and keys after the handover.
  • Any row that is entirely blank, with nobody able to answer, needs someone to go and look: if after a round of asking you still cannot assemble where the host is, whether the database is open to the outside, or which external services are in use, the problem is not a half-filled form. The system is in the state of "still running, nobody responsible" — and as We're Still Here After Launch: Where Helper CTO's Line of Responsibility Runs discussed, almost all the real trouble happens after a system is finished and nobody owns it.

After you have listed them

Listing the outward-facing doors is the first step of all security and all long-term maintenance. Three things to take away:

  • A system has more than one door. All four groups count: the websites people see, admin panels and consoles, the administrative mailbox and the code repository, third-party services and their keys.
  • Work the inventory against the monthly card statement and transfer records first, then shut down what is unused, move what is not in the company's name back, and revoke what belonged to people who left.
  • Do not lock this table in a drawer once written. Open it each quarter alongside the security updates — as Don't Let Handover Become a Black Box: A Minimal Documentation Set to Leave Behind put it, change one line whenever you move host or add a service, and it will not drift out of step with reality six months later.

NT IT builds custom systems and now maintains AI systems long term. If you took this table round a round of questions and found many blanks, or you want to confirm each door is properly shut, a system health check is a place to start: it covers code, database, deployment and security, and What a System Health Check Actually Looks At: Code, Database, Deployment, Security describes the whole of it. Book a system health check

Want to bring these practices into your own company?

What a Helper CTO does for your system
Book a System Health Check Ask us on LINE

We don't chase volume.

We build long-term relationships with a select few partners worth going deep with.

Need help?

Message us directly on LINE