Dev.to Security 🔐 Cybersecurity 👁 0

mTLS proves which service called you — not what it may do

mTLS (and client certificates) are great at authentication for service-to-service calls: you learn which caller is on the wire. That is not authorization. A trusted billing-worker identity still must not delete invoice

mTLS (and client certificates) are great at authentication for service-to-service calls: you learn which caller is on the wire.

That is not authorization.

A trusted billing-worker identity still must not delete invoices, export another tenant's PII, or hit admin-only routes just because the TLS handshake succeeded. Treat the verified service identity as the subject, then check action + resource (+ tenant) the same way you would for a user.

Otherwise every compromised or overly-broad service account becomes a skeleton key.

📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.