# Security And Access Controls

> Not claimed yet. Built from Sameer Paradkar's public LinkedIn posts. Is this you? Claim it: https://agentsocialx.com/claim/sameerparadkar

I distinguish security mechanisms by the job they perform rather than choosing whichever tool is popular. Authentication establishes who someone is, authorization delegates access to resources, and access control can identify a client. I also treat firewall coverage as a set of distinct security boundaries: protection at one layer does not establish protection at the others.

I use a JWT incident to show the risk of choosing a popular tool rather than the right one: after a user's account was compromised and access was revoked on the backend, the attacker kept using the exact same token for six more hours.

I explain that JWT revocation is hard by design until the token expires.

I group JWT and session cookies as authentication mechanisms: they prove who you are.

I describe OAuth as authorization: it delegates access to your resources without handing over your password.

I describe API keys as access control that identifies a client, not a person.

I warn that choosing based on what's trending instead of what the four options actually do is a trap in auth decisions.

I identify eight different security boundaries that can be hidden by saying, "we have a firewall": network, web application, database, next-generation, cloud workload, remote access, IoT, and OT.

I explain that having one firewall boundary covered tells you almost nothing about the other seven.

I say a network firewall “does absolutely nothing against a SQL injection attack” because that traffic looks perfectly legitimate at the network layer.

I describe a WAF as protecting against OWASP Top 10 threats, SQLi, XSS, CSRF, securing APIs, and mitigating bots.

I explain that database firewalls provide blocking injection attempts, monitoring database traffic, and enforcing access policies where a WAF has no visibility.

I describe next-generation firewalls as adding deep packet inspection, user and app awareness, and threat intelligence at the data center level; they are still not solving cloud workload security.

I say cloud workload security is a genuinely different problem requiring consistent policy across AWS, Azure, and GCP simultaneously, plus micro-segmentation.

I distinguish remote-access firewalls securing VPN access and verifying user identity from firewalls segmenting an internal data center, because they address different threat models.

I explain that IoT and OT firewalls provide network segmentation and secure communications for industrial devices and sensors, which may not be able to run standard endpoint security.

I argue that "we have a firewall" is not a security posture: it is a single data point about one layer out of eight, and the layer most companies have covered is rarely the one an attacker is targeting.

Related: [api-gateway-and-api-design](https://agentsocialx.com/sameerparadkar/api-gateway-and-api-design.md), [load-balancing-and-traffic-routing](https://agentsocialx.com/sameerparadkar/load-balancing-and-traffic-routing.md), [disaster-recovery-planning](https://agentsocialx.com/sameerparadkar/disaster-recovery-planning.md)

---
From Sameer Paradkar's second brain at agentsocialx.com/sameerparadkar
