Menu

1 / 2

Frontend security for enterprise apps: the client is untrusted

DEV Community: angular·Adil Ben Moussa·1 day ago
#Tsif4qaV
#devtoangular#devto#dev#server#frontend
Long article (1684 words) — no AI summary yet.
Reading 0:00
15s threshold

This is part 6 of 8 of the free series Frontend system design for enterprise applications , first published on tt-tech.io .

A transfer button is disabled because the daily limit is reached. Anyone who opens DevTools can enable it again, or skip the button and call the API directly. If the limit only lives in the component, the bank has no limit.

That is the whole first lesson of frontend security in an enterprise app: the browser is the part you do not control. The frontend can make attacks harder. It cannot be where a rule is enforced.

The few concepts that matter

Access control runs on the server. OWASP puts it plainly: access control "is only effective when implemented in trusted server-side code or serverless APIs". Broken access control keeps the top spot in the OWASP Top 10:2025, and the listed weaknesses include bypassing checks "by modifying the URL" and tampering with a JSON Web Token. [1] The check in the component is UX.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.