Missiora
Database Security & Permissions

Technology Fundamentals

Database Security & Permissions

1 min readPublished 22 Jul 2026

Track your progress. Sign in to mark this guide complete and build your Job Readiness Score.

Databases hold an organisation's most valuable data, so securing them is critical — and reuses your IAM knowledge.

Interactive explainer

Access Control Models

The four ways systems decide what you are allowed to do.

1DAC2MAC3RBAC4ABAC

Tap or hover a part to learn more.

DAC

Discretionary.

The resource owner decides who gets access (e.g. file permissions you set yourself). Flexible but easy to misconfigure.

Check your understanding

1. Which model attaches permissions to roles that users inherit?

2. Which model uses labels and clearances enforced by the system?

Practise this in AI Interview™

The essentials

  • Least privilege — grant only the access a user or app needs with GRANT/REVOKE, ideally via roles, not per-user.
  • SQL injection is the top database attack — always use parameterised queries, never string-concatenated input.
  • Encryption — protect data at rest (storage) and in transit (TLS).
  • Auditing — log access to sensitive data for detection and compliance.

Applications should connect with a limited account, not an admin one — a common and dangerous mistake. This ties to Cyber Security Fundamentals.

Interview Intelligence

How this topic actually shows up in interviews — and how to demonstrate you understand it.

Why employers ask about this

Data breaches often start at the database, so security awareness is expected of anyone with access.

Technical questions
How do you prevent SQL injection?+

Use parameterised queries/prepared statements, validate input, and apply least privilege to the DB account.

Behavioural questions
Tell me about protecting sensitive information.+

Show applying least privilege, encryption and careful handling of data.

Real-world scenarios
“A web app concatenates user input into a query.”+

Expected answer: Flag SQL-injection risk and switch to parameterised queries; also scope the DB account's privileges.

Employability Intelligence

Where this knowledge takes you — the jobs, skills and certifications it feeds into.

Relevant roles
Database AdministratorSecurity EngineerBackend Developer
Skills you're proving
Least privilegeSQL injection defenceEncryption
Recommended certifications
Microsoft DP-900 (Data Fundamentals)Oracle / SQL certifications
Career progression

Databases & SQL + Cyber Fundamentals → DBA/security roles.

What employers expect

That you can design a sensible schema and write correct, efficient SQL.

Frequently asked questions

What is SQL injection and how do you prevent it?

An attack that injects malicious SQL via input; prevent it with parameterised queries and input validation.

What do GRANT and REVOKE do?

They give and remove specific database permissions, ideally managed through roles for least privilege.

Why shouldn't an app use an admin database account?

Least privilege limits the damage if the app is compromised; use a scoped account instead.

Related guides

Practise what you've learned

Turn this guide into real, evidenced progress

Missiora helps you measure, improve and evidence the capabilities employers actually value — start with the tools best suited to this topic.

M
Published by
Missiora

Missiora is an AI Employability Intelligence platform. Our resources are researched and reviewed by the Missiora team to help you measure, improve and prove your career readiness.