🚧 Under construction — VoTechWorks is being built. A free tech program — complimentary, as our commitment to get America working.
voTechWorksGrade 13 · a vocational technology learning center, by urbanicity
newSchoolWorks.com › VoTechWorks › Technology & Design › Data Management / Database Administration › Database Security & Role Management › Lesson 1
TEC-DATA86-05 · Lesson 1 · 9 clock hours · theory

Database Threat Landscape & Physical/Environmental Safety

Objective. Learners identify the most common database attack vectors, classify data sensitivity levels, and describe physical safety procedures required in data center environments.

⚠ Pending professional review

This lesson, its worked examples and its practice questions has not yet been verified by an industry-certified professional or by a certification or approval body. It is a study draft and may contain errors. Do not use it as instructions for work on a job site or on live equipment. Always follow your instructor, your supervising professional, and current official references and regulations.

VoTechWorks program approval and accreditation are still in progress. Credentials are issued only by the certifying bodies named in each program, after their own exams.

Why Database Security Begins Before You Write a Single Query

A database is only as secure as the environment surrounding it. That environment has two layers: the physical world of servers, cables, and rooms, and the digital world of network traffic, credentials, and application code. A breach at either layer can expose every record you manage. As a database administrator, you are responsible for understanding both.

The Database Threat Landscape

Attackers pursue databases because that is where valuable data lives. Knowing how they approach the problem helps you defend against it. The STRIDE model, developed as a structured way to think about software threats, gives you a practical vocabulary:

For each STRIDE category, a control exists. Spoofing is countered by strong authentication. Tampering is countered by referential integrity and role-based access controls. Repudiation is countered by audit logging. Information disclosure is countered by encryption and least-privilege grants. DoS is countered by connection limits, query timeouts, and redundancy. Elevation of privilege is countered by strict separation of roles and regular privilege reviews.

Common attack vectors you will encounter on the job include SQL injection (malicious SQL code embedded in application input), credential theft (passwords captured through phishing or weak storage), excessive privilege abuse (accounts with more rights than they need), unpatched vulnerabilities (database engine bugs that have published exploits), and insecure backups (backup files stored without encryption or access controls).

Data Classification

Not all data carries the same risk if exposed. The DAMA DMBOK2 framework describes data security as a discipline that includes classifying data so that the right controls are applied proportionally. A simple three-tier model is widely used:

| Tier | Label | Examples |

|------|-------|----------|

| 1 | Restricted / Confidential | Social Security Numbers, credit card numbers, health records, passwords |

| 2 | Internal / Sensitive | Salaries, employee performance data, business financials |

| 3 | Public / Non-sensitive | Product names, public pricing, first names used alone |

Regulatory frameworks such as HIPAA, PCI-DSS, and various state privacy laws influence how Tier 1 data must be handled. When in doubt, classify data at the higher tier until you can confirm otherwise.

Physical and Environmental Safety in the Data Center

Server rooms and data centers present real physical hazards. OSHA's general industry electrical safety standards apply to anyone working in these spaces. You are required to recognize hazards before you enter.

Five physical hazards common to server rooms:

1. Live electrical cables – Power distribution units, patch cables, and uninterruptible power supplies (UPS) carry live current. Never open energized equipment without following lockout/tagout (LOTO) procedures. LOTO requires that energy sources be isolated and physically locked before service work begins.

2. Rack instability – Server racks that are not bolted to the floor or properly loaded (heavier equipment at the bottom) can tip. Never pull multiple slides out of the same rack at the same time.

3. Airflow and cooling hazards – Raised-floor tiles can shift unexpectedly, and high-velocity air from precision cooling units can cause eye injury or dislodge equipment. Wear safety glasses when removing floor tiles. Keep hot-aisle and cold-aisle pathways clear.

4. Emergency Power-Off (EPO) locations – Every data center has EPO buttons or switches that cut all power instantly. Know exactly where they are before you start work. An accidental EPO activation can cause data loss across every system in the room.

5. Slip and trip risks – Cable management failures, wet floors from condensation, and raised floor edges are common causes of falls. Wear slip-resistant, closed-toe footwear and follow housekeeping rules.

Personal Protective Equipment (PPE): At minimum, wear safety glasses and closed-toe footwear in active data center spaces. When working near energized electrical panels, arc-flash rated PPE is required per NFPA 70E guidance. Follow whatever PPE requirements your employer's safety plan specifies.

Before any hands-on work in the data center: review the site's emergency procedures, locate fire suppression equipment (most data centers use clean-agent suppression, not water), and confirm you know the evacuation route. Never work alone in a data center if it can be avoided.

CIS Benchmarks as a Security Baseline

The Center for Internet Security (CIS) publishes configuration benchmarks for major database platforms including PostgreSQL. A CIS Benchmark is a consensus-based, documented set of configuration settings that reduce the attack surface of a system. DBAs use benchmarks to audit whether a database has been set up securely—checking items like default account removal, password policy enforcement, audit logging status, and file permission settings. Benchmarks are available free of charge for registered users at cisecurity.org and are referenced by many compliance frameworks.

Connecting the Layers

Physical safety and logical security are not separate topics that live in different departments. An attacker with physical access to a server can bypass nearly every software control you have implemented. A DBA who does not understand physical hazards can unintentionally cause an outage that is indistinguishable from a DoS attack. Your professional responsibility covers both layers.

Key terms8

STRIDEA threat-modeling framework whose six categories—Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, and Elevation of Privilege—help analysts systematically identify security threats to a system.
SQL InjectionAn attack in which malicious SQL code is inserted into an application input field, causing the database engine to execute unintended commands.
Data ClassificationThe process of assigning a sensitivity tier to data assets so that appropriate security controls—access, encryption, retention—can be applied proportionally.
Least PrivilegeThe security principle that a user or process should be granted only the minimum database permissions required to perform its intended function.
Lockout/Tagout (LOTO)An OSHA-required safety procedure that isolates and de-energizes hazardous energy sources and physically locks them out before maintenance or service work begins on equipment.
CIS BenchmarkA consensus-developed, publicly available set of secure configuration guidelines published by the Center for Internet Security for specific operating systems, applications, and database platforms.
Emergency Power-Off (EPO)A switch or button in a data center that immediately cuts electrical power to all equipment in the facility; used in emergencies and requires DBAs to know its location before beginning work.
Elevation of PrivilegeA STRIDE threat category in which an attacker or insider gains database permissions beyond what was authorized, for example moving from a read-only role to a DBA role.
In class: Read and annotate the OSHA Electrical Safety general industry standard guidance and a CIS Benchmark executive summary; learners list five physical hazards found in server rooms (live cables, rack stability, airflow hazards, emergency power-off locations, slip risks) and write a two-paragraph safety plan. · Group discussion: map the STRIDE threat model (Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, Elevation of Privilege) to realistic database scenarios; each group presents one scenario with a recommended control. · Individual worksheet: classify ten sample data fields (SSN, first name, salary, product SKU, credit card number, etc.) by sensitivity tier using a provided data classification rubric aligned with DAMA CDMP data-security concepts.
Materials: OSHA electrical safety guidance (osha.gov), CIS PostgreSQL Benchmark (cisecurity.org), DAMA DMBOK2 Chapter 7 excerpt (Data Security), whiteboard, printed STRIDE worksheet
Check: Learner correctly classifies at least 8 of 10 data fields and identifies all five physical hazards on the safety worksheet; instructor reviews and initials each sheet before the next lesson.

Practice check8

Answer each question, then check it. Nothing is recorded; this is your own practice.

Database Security & Access Control
1. An attacker submits the value `' OR '1'='1` into a web application's login field and gains access to the database without a valid password. Which attack vector does this represent?
Database Security & Access Control
2. A developer's account is compromised, and the attacker uses it to grant themselves full DBA-level permissions. Which STRIDE category best describes this threat?
Data Governance & DAMA CDMP Concepts
3. Under a standard three-tier data classification model, which of the following fields should be classified at the highest sensitivity tier?
Database Security & Access Control
4. A DBA notices that a database user account can run SELECT on every table in the system even though the user's job only requires access to a single reporting table. Which security principle is being violated?
Workplace Safety (Physical/Environmental)
5. Before performing maintenance on a server rack's power distribution unit, which OSHA-required safety procedure must a technician follow to prevent electrocution?
Database Security & Access Control
6. A company's database produces no audit log entries for after-hours deletions. Three days later, a table is found empty and no one admits responsibility. Which STRIDE threat does the absence of logging enable?
Database Security & Access Control
7. A CIS Benchmark for PostgreSQL recommends removing the default superuser account that ships with the installation. Which STRIDE threat category does this control most directly address?
Workplace Safety (Physical/Environmental)
8. A data center technician is about to lift a raised-floor tile near a precision air-cooling unit. According to data center physical safety practices, which PPE item is most important to put on before lifting the tile?
Record this lesson on my transcript. Sign in with your key and enrollment email to record lessons (enroll free if you have no key). This page stays open to read and practise.