notesonly.in

One notebook for every subject — open it anywhere.

Log in

Database security basics

Database Management Systems · Engineering

Study notes

Secure a database: create role analyst with GRANT SELECT ON sales TO analyst (read-only, no writes); enable TLS for connections; encrypt the data files; mask credit-card columns for analysts; turn on audit logging. A stolen analyst password then yields only masked reads, never writes or dumps.

← Back to topics for Engineering