Broken access control, explained
Published 21 October 2026 · 6 min read
Broken access control is what happens when your app checks who you are but not what you're allowed to see. You log in, the app confirms you have an account, and then it hands over data without asking the second question: is this particular record actually yours?
That gap is the single most common serious flaw in modern web apps, and it shows up constantly in apps built on no-code and AI builder platforms. The result is almost always the same: one user can read, edit, or delete another user's data, and sometimes an anonymous visitor can pull an entire table with no login at all.
The hotel keycard analogy
Imagine checking into a hotel. You're given a keycard, and it works. You're a real, paying guest. So far so good.
But when you tap your card on room 204, the door opens. You tap it on 205, and that opens too. And 206. And the manager's office. The hotel checked that you had a valid card, but never checked that your card was for your room.
That's broken access control. Logging in is the keycard working. Access control is the lock knowing which room is yours. When the second check is missing, every door is effectively open to anyone who's bothered to check in.
How it actually leaks data
In a real app, records usually have simple identifiers in the web address or in a background request, like /invoice/1043 or ?user=88. A curious or malicious person changes 1043 to 1044, or 88 to 89, and sees someone else's data. No hacking tools required, just editing a number.
Broken access control shows up in a few recognisable shapes:
- Reading other people's records. Change an ID and you see another customer's invoice, profile, or private message.
- Acting as someone else. You can edit or delete a record that isn't yours because the app never confirms you own it.
- Reaching admin-only functions. A regular user calls an endpoint meant for admins and it quietly works.
- Wide-open data with no login. The worst case: a request with no account at all returns a whole table of users or orders, because the data layer was never told to require a logged-in owner.
Why it tops the OWASP list
The OWASP Top 10 is the security industry's widely used ranking of the most critical web application risks. In the most recent editions, broken access control sits at number one. It earned that spot for three reasons: it's extremely common, it's easy to exploit, and the damage is immediate. There's no clever multi-step attack chain. If the check is missing, the data is simply available to whoever asks.
It also tends to be invisible to the person who built the app. Everything looks and works perfectly when you're logged into your own account, because you only ever request your own data. The flaw only appears when someone requests data that isn't theirs, and most founders never think to try that.
Why no-code and AI backends ship it
No-code and AI builder platforms are brilliant at the visible part of an app, the screens, the forms, the buttons. The hidden part is the database and the rules that decide who can touch which rows. Those rules are where access control lives, and they're easy to leave too open.
A few reasons this happens so often:
- Permissive defaults. To make your app work immediately, many platforms start with generous data access so nothing is blocked while you build. Tightening it later is a manual step that's easy to skip.
- The frontend hides, the backend doesn't enforce. Hiding a button on screen isn't a security control. The underlying data request still exists and can be called directly. Visual builders make it very easy to confuse "hidden" with "protected."
- AI writes the happy path. When you describe a feature to an AI builder, it produces code that works for the intended user. It rarely adds the per-record ownership check unless you explicitly ask, because that check isn't part of the feature you described.
How to spot it, conceptually
You don't need to read code to pressure-test your own app. Think like a nosey second user:
- Log in as one test account, open a record, and note the number or ID in the address bar. Change it to a nearby number. Do you see data that isn't yours?
- Create a second account. From account B, try to open account A's records directly. Does the app stop you?
- Log out entirely and try to open a page or link that should require a login. Does it still load data?
- Ask yourself who enforces each rule. If the only thing stopping a user is a hidden button, that's not enforcement.
If any of those let you reach data you shouldn't, you've found broken access control, and so can anyone else.
Check your app in 30 seconds
Faultline scans no-code & AI-built apps for exactly these issues — free.
Run a free scanWhere Faultline fits
Faultline's free surface scan works on any website. It checks the things an outsider can see from the front door, like your TLS and encryption setup, security headers, and DNS and email configuration, and flags weaknesses in seconds. That's a solid first health check for any app, no matter what you built it with.
Catching broken access control specifically means looking deeper at how your data layer answers requests. Faultline's deep data-exposure engine does this today for apps built on Base44, and support for more platforms is rolling out. In the meantime, the manual checks above are the fastest way to test your own app by hand, and the free surface scan is the right place to start.
Related: Authentication vs authorization · What is IDOR?