EM

Dock

HomeBlogLearning PathsPricingAbout MeContact

What Security Means in Everyday Software Systems

Sandeep Varma

Oct 11, 2026
What Security Means in Everyday Software Systems
Photo by Sandeep Varma on EMDock

The last post in this series walked through a few concrete tradeoffs that shape technical decisions, and closed by pointing at one that deserves its own dedicated treatment: how much effort a system invests in protecting itself, weighed against how much friction that protection adds for everyone using it legitimately. That tradeoff sits at the heart of security, a word that gets thrown around constantly in engineering conversations but rarely gets unpacked into something concrete for people who do not work with it directly.

Walking Into a Bank

Think about what actually happens when you walk into a bank. You are not simply allowed to wander behind the counter and start opening drawers. A teller first confirms who you are, checking your identification against your account. Once your identity is confirmed, you are only permitted to do certain things, withdraw from your own account, deposit a check, ask about your own balance, not simply anyone's balance you feel like asking about. The vault itself, where the bank keeps its most sensitive contents, is protected by a combination or key that only a small number of specific, trusted employees actually hold. And throughout the building, security cameras quietly record who came in, when, and what they did, creating a record that can be reviewed later if something ever goes wrong.

None of this makes the bank unfriendly or unusable. You can still walk in, get helped quickly, and leave with exactly what you came for. But every one of those everyday details, checking identity, limiting what each person can do, protecting the most sensitive contents specifically, and keeping a record of who did what, is a distinct, deliberate security measure, and software systems rely on almost the exact same set of ideas.

Authentication: Confirming Who You Actually Are

The teller checking your identification against your account is the equivalent of what engineers call authentication. Before a software system does anything on your behalf, it needs to confirm that you actually are who you claim to be. This is why logging in exists at all, typically through a password, sometimes paired with a second confirmation like a code sent to your phone, adding a second, independent way of proving your identity beyond just something you know.

Authentication answers exactly one question: are you who you say you are. It does not yet say anything about what you are allowed to do once that is confirmed, the same way showing your ID at the bank confirms who you are without yet determining whether you are permitted to open a business account or only a personal one.

Authorization: Deciding What You Are Allowed to Do

Once your identity is confirmed, the bank still will not let you casually walk behind the counter and start handling other customers' accounts. What you are permitted to do depends on your specific role and relationship to the bank, a customer accessing their own account, a teller processing transactions within certain limits, a manager with broader access than either. This is authorization, and it is a genuinely separate concept from authentication, even though the two frequently get mentioned in the same breath.

In software terms, this is exactly the enforcement work we described happening in the backend, back in our post distinguishing frontend from backend. Confirming who you are is only the first step. The system then has to check, on every single request, whether the specific thing you are trying to do is actually something someone with your role and account is allowed to do at all. A regular customer being able to see another customer's private account details would be an authorization failure, even if their identity was verified completely correctly at login.

Encryption: Protecting the Vault Itself

The vault at the bank is not just guarded by a locked door. Even if someone did manage to get inside it, the contents are still protected, cash in a sealed container, documents that require additional verification to release. Encryption works on a similar principle for data. It takes information and scrambles it using a specific method, so that even if someone managed to get their hands on it without permission, what they would actually see is meaningless, unreadable data, not your real password, your real payment details, or your real personal information.

This matters in two distinct situations, mirroring two different moments in the journey we traced back in our post on how data moves through a software system. Data traveling across a network, from your device to a server, is typically encrypted in transit, so that anyone intercepting that trip along the way sees only scrambled information rather than your actual data. Data sitting in storage is often encrypted as well, so that even someone who somehow gained direct access to a database would still be looking at something unreadable rather than plain, usable information.

Auditing: Keeping a Record of Who Did What

The bank's security cameras exist for a reason that has nothing to do with stopping something from happening in the moment. They exist so that if something does go wrong, there is a clear, reliable record of exactly what happened, who was involved, and when. Software systems maintain an equivalent record, often simply called an audit log, tracking meaningful actions like who accessed sensitive information, who changed an important setting, or who approved a particular transaction.

This connects directly back to something we discussed a couple of posts ago regarding postmortems. When something concerning happens, a security incident rather than a technical outage, that same instinct toward a careful, honest investigation applies, and a solid audit trail is often the difference between being able to reconstruct exactly what happened and being left only with guesses.

Why Security Always Involves a Real Tradeoff

Going back to where this post started, every one of these measures adds real friction. Authentication means an extra step before you can do anything at all. Authorization means certain actions are simply unavailable to you, even when that feels inconvenient in the moment. Encryption adds real computational work every time data is protected or unprotected. None of this is free, and a system with zero security measures at all would, in a very narrow sense, feel faster and more frictionless to use.

This is precisely why security is a genuine tradeoff rather than a box to be checked once and forgotten. A bank could, in theory, let anyone walk behind the counter and skip identity checks entirely, and transactions would move a little faster for everyone. It does not do this, because the risk of what becomes possible without those measures vastly outweighs the convenience gained by removing them. Good engineering teams make this same calculation deliberately, choosing where extra friction is worth the protection it buys, and where it would genuinely be excessive for what is actually at stake.

Why This Matters Even If You Never Write a Line of Code

You do not need to understand encryption algorithms or authentication protocols to benefit from this mental model. The next time you hear an engineer say a feature needs "an authorization check" or that certain data needs to be encrypted, you now have a concrete picture behind those words: someone confirming identity at the door, someone deciding what each visitor is actually allowed to touch, and something protecting the vault itself even if someone manages to get past the door. None of it is about mistrust or bureaucracy for its own sake. It is the same everyday logic a bank has relied on for a very long time, applied to a system you cannot physically walk into and see for yourself.

What Do You Think?

Has a security requirement at work ever felt like unnecessary friction until you understood exactly what it was actually protecting against? I would love to hear what that moment looked like, and what changed once the reason behind it became clear.

Enjoyed this? Get the next one by email

New posts on leading engineering teams, straight to your inbox.

No spam. Unsubscribe any time.

Did you find this useful?


Comments

Loading comments...

to post a comment.


About the author

Sandeep Varma

Senior Engineering Manager

I write about leadership and software engineering from experience as a software engineer, product owner, and engineering manager, grounded in a Bachelor’s in Computer Science Engineering and an MBA in IT Strategy.

View full profile

Continue reading

Next →

How Software Costs Grow Over Time


How Tradeoffs Shape Every Technical Decision: A Few Real Examples