Home / Learn Secure SQL / Shared Responsibility: Who Secures What
Shared Responsibility: Who Secures What
Developer, DBA, security team, and platform, each own a slice.
The gistDeveloper, DBA, security team, and platform, each own a slice.
The idea, explained simply
What it is
Nobody owns "database security" alone. It is split between the people who write queries, the people who administer the database, the security team, and the cloud platform.
Why it matters
Knowing who owns what prevents the common failure where everyone assumes somebody else handled it.
Mechanically speaking
Use the table below as a starting checklist when you join a new team or start a new project.
Shows up in
- Web application code review
- Backend development
- Database administration
| Role | Typically owns |
|---|---|
| Application developer | Prepared statements, input validation, error handling, using the DB account correctly |
| Database administrator | Creating least-privilege accounts, grants, backups, patching the database engine |
| Security / AppSec team | Code review standards, scanning tools, incident response, training |
| Cloud / platform team | Network isolation, encryption at rest, IAM, firewall rules |
In a small team, one person might wear two or three of these hats. The list still matters: it tells you which hat you are wearing in each lesson of this course.
Check yourself
1. If everyone assumes "someone else" secured the database...
A classic gap in responsibility.