Skip to main content
All Articles

Security Basics 15|Least privilege sounds technical; it is really a piece of business sense

Category Security Date 2026-11-25

Author
恩梯科技
6 views 6 min read

When technical people discuss the architecture of your systems, a phrase occasionally surfaces: the principle of least privilege. Many owners hear it and feel their heart sink, assuming this is some deep piece of information engineering, and wave it away with "you technical folk handle that".

In fact there is nothing technical about it. It is the business sense you use every day in running a company: you would not hand the authority to release company bank transfers to an intern who started this morning, and you would not print the safe combination in the staff handbook and give it to everyone. Each person holds only the key today's work requires. Put into a software system, that is called least privilege. This is the fifteenth piece in our security basics series. Following Security Basics 01|An advisory just landed: how do you know whether it affects you and the pieces on closing accounts at departure, shared accounts and vendor accounts, this one helps you understand, as an owner: how to put that piece of business sense into your own website and back office.

Why making everyone a top-level administrator rolls out the red carpet for an attacker

When a system has just gone live and there are still very few people in the company, the least troublesome thing to do is tick every employee's back office account as top-level administrator. Everyone here is one of us, after all, and with everything open nobody comes to complain that a button will not work or a report cannot be seen.

But doing that ties the whole company's risk to whichever account is easiest to deceive. Picture the scene: customer service or an intern has to open a great many emails and attachments from outside every day, and their chances of meeting a phishing email are not small. If that customer service account can only see the day's returns and exchanges, then even if the account is unfortunately stolen the loss stays within limits. If, to save trouble, that account was made a top-level administrator, then an attacker who obtains their password has the power of life and death over the entire database and the system settings.

The UK's National Cyber Security Centre (NCSC) writes it clearly in its 10 Steps to Cyber Security: Identity and access management guidance: an organisation must set an explicit policy governing who should access which systems, data or functions, in what circumstances and for what reason; administrator accounts should follow a tiered model, with full rights used only when genuinely necessary, and all accounts should be reviewed regularly so that unnecessary high privilege is revoked.

An illusion that is easy to miss: no button on the screen does not mean no access

There is one more landmine in splitting access, and it is especially easy to step on in a system built in-house or produced quickly with AI: assuming that hiding the button counts as having split the access.

In The Security Landmines AI-Written Code Steps on Most: Permissions, Keys, Input Validation we took this apart: "the screen shows different buttons depending on who you are, but where the data is actually handled behind it, nothing checks again whether this person is entitled to do this". It is like an office with an access card at the front door and no lock on any of the room doors: whoever got through the front door can walk wherever they like.

A concrete example: when an ordinary member of staff signs into the back office, the screen genuinely does not show the button that exports the company's whole customer list. But if the back end never truly checks who they are, then anyone who understands a little about how web addresses work can change one character in the browser's address bar, or type the address of the administrative page directly, and the data comes out just the same. Real least privilege cannot be surface work; it has to hold firmly at the point where the server handles the data.

One table: ordinary practice in a physical company vs. least privilege in a web system

Not sure how the access in your back office should be split? Carry the logic you already use for keys and seals in the physical office straight across and it becomes clear:

Ordinary management practice in a physical companyThe equivalent in a website and business systemWhat happens when it is not split
The receptionist has the front door key but not the key to the finance roomCustomer service and shipping staff see only the orders they handle and cannot export the historical customer list in bulkOne stolen customer service account leaks every customer's personal data from every year at once
Marketing can change the wording on a poster but cannot change the prices on the tillA content editor account can publish articles and campaign pages but cannot change payment settings or checkout logicSomeone meaning to edit an article touches a core setting and the site can no longer take payment
A bank transfer needs one person to raise it and another to release itDeleting database records, exporting sensitive reports or changing server settings is open only to a few managers and maintenance staffAnyone who presses the wrong delete key brings the whole system down on the spot

Two things you can ask your technical team to check today

To get least privilege into the system you do not have to go and tick those dense settings yourself. You only have to confirm these two things with your engineer or maintenance vendor:

  • First: split back office roles into at least three tiers (administrator, ordinary operations, read-only viewer): apart from the few people who need to change settings and keep administrator rights, move every colleague who handles orders and articles day to day onto the ordinary operations role; those who only need to look at the numbers get the read-only role, with no need to open the buttons that change data at all.
  • Second: spend a little time on an address check: using the method in The Security Landmines AI-Written Code Steps on Most: Permissions, Keys, Input Validation, sign in with the lowest-privileged ordinary account, try pasting in the address of a page meant only for administrators, and confirm that the system really does keep you out rather than letting you see everything.

Nerd Technic is a systems software company that came out of custom development, and what we do now is the long-term maintenance of AI systems. As we wrote in What a System Health Check Actually Looks At: Code, Database, Deployment, Security, the first door the security side looks at is "whether access is split: not visible on the screen does not count, the back end has to check for it to count". What long-term maintenance has to look after is this: in the first round of taking over, the gaps in keys and access get closed for you. If you are not sure whether your system really splits access or has merely hidden the buttons, a system health check is a place to start: 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