Database Security

Chapter 14
Governance, Privacy, Ethics and Compliance

Diploma in Cyber security
Database Security   •   Diploma

Governance, Privacy, Ethics and Compliance

Introduction and Context

Database security is not only a technical activity. Firewalls, encryption, access controls and monitoring are effective only when an organisation has decided what information must be protected, why it must be protected, who is accountable, how long it should be retained and what evidence demonstrates compliance. These decisions belong to governance.

Database governance connects organisational objectives with security controls and legal responsibilities. Privacy determines how personal information is collected, used, disclosed and deleted. Ethics addresses what an organisation ought to do, even where the law is silent or minimum compliance would permit harmful behaviour. Compliance translates applicable laws, contracts and standards into demonstrable obligations.

For a cybersecurity professional, the central challenge is to balance availability, business utility and data protection. Excessive retention increases exposure and cost; insufficient retention may prevent legal investigation or operational recovery. Excessive access restrictions can obstruct legitimate work; weak restrictions can enable fraud or privacy violations. Sound governance therefore uses risk-based, documented and reviewable decisions.

Learning Objectives

By the end of this chapter, a learner should be able to:

  1. Explain the relationship between database governance, privacy, ethics and compliance.
  2. Develop practical database security and retention policies.
  3. Apply data classification, ownership and accountability principles.
  4. Select and interpret control metrics and compliance evidence.
  5. Compare the managerial uses of ISO/IEC 27001, the NIST Cybersecurity Framework and PCI DSS.
  6. Evaluate legal, privacy and ethical issues in database operations.
  7. Recommend proportionate controls for a realistic organisational case.

1. Governance as a Management System

Governance is the system by which an organisation is directed, controlled and held accountable. Database governance specifies decision rights and responsibilities for data assets. It is broader than database administration: a database administrator may implement a role or backup, but management must determine the business purpose, acceptable risk and accountability for that control.

A useful governance chain is:

Business objective → data requirement → risk assessment → policy → control → evidence → review and improvement

For example, an online retailer may need customer payment information to complete purchases. Risk assessment identifies unauthorised disclosure, alteration and misuse. Policy may require least privilege, strong authentication, encryption and restricted retention. Controls implement these requirements, while audit logs, access reviews and test results provide evidence.

1.1 Roles and accountability

Important roles include:

  • Data owner: the business authority responsible for the purpose, classification, acceptable use and retention of data.
  • Data steward: the person who maintains data quality, definitions and operational rules.
  • Database administrator: the technical professional who configures, maintains and secures database platforms.
  • Security officer: the person coordinating security policy, risk treatment, monitoring and incident response.
  • Privacy officer: the specialist who advises on personal-data processing, rights and privacy impact.
  • System or process owner: the manager accountable for an application and its supporting processes.
  • Auditor: an independent evaluator who assesses whether controls are designed and operating effectively.

Accountability cannot be delegated merely by assigning a task. A manager may delegate implementation, but remains responsible for ensuring that the task is properly supervised and reviewed.

1.2 Policy hierarchy

A policy expresses mandatory management direction. Standards define required technical or procedural specifications. Procedures provide detailed steps, and guidelines offer recommended practice. A database access policy might require quarterly review of privileged accounts; a standard might require multifactor authentication; a procedure might explain how an administrator extracts the account list and records approval.

Effective policies should state their purpose, scope, definitions, responsibilities, mandatory requirements, exceptions, enforcement, review frequency and relationship to applicable law. A policy that cannot be translated into observable controls is difficult to enforce and audit.

2. Data Classification and the Information Life Cycle

Classification helps an organisation apply proportionate safeguards. A typical scheme is:

ClassificationTypical contentIllustrative controls
PublicPublished product informationIntegrity checks and change approval
InternalRoutine operational informationAuthenticated access and controlled sharing
ConfidentialBusiness-sensitive informationNeed-to-know access, encryption and monitoring
RestrictedSensitive personal, payment or strategic informationStrong authentication, encryption, privileged monitoring and strict retention

Classification should be based on the consequences of unauthorised disclosure, alteration or unavailability. It should not depend only on the database table name. A customer identifier may be low sensitivity in one context but highly sensitive when linked with health, financial or behavioural data.

The information life cycle normally includes creation or collection, use, sharing, storage, archival and disposal. Controls should follow the data through every stage. Disposal is not complete when a row is deleted from an application table if copies remain in backups, replicas, exports, caches or test environments.

A data inventory or record of processing should identify what data exists, its owner, location, purpose, recipients, retention period and protection requirements. Discovery tools can assist, but automated classification requires human validation because context and legal purpose cannot always be inferred reliably from column names.

3. Privacy Principles and Legal Reasoning

Privacy concerns the appropriate handling of information about identifiable or identifiable individuals. Security protects confidentiality, integrity and availability; privacy additionally asks whether collection and use are justified, transparent and fair.

Common privacy principles include:

  • Lawfulness, fairness and transparency: processing should have a valid legal basis and be explained clearly.
  • Purpose limitation: information should be collected for specified, legitimate purposes and not reused incompatibly.
  • Data minimisation: collect and retain what is necessary, rather than everything that might be useful someday.
  • Accuracy: inaccurate personal information should be corrected.
  • Storage limitation: retain information only as long as justified.
  • Integrity and confidentiality: apply appropriate technical and organisational safeguards.
  • Accountability: maintain evidence that privacy obligations are understood and followed.

Exact legal duties vary by jurisdiction and sector. Examples of legal or contractual regimes may include comprehensive data-protection laws, breach-notification rules, health-information regulations, financial-sector requirements, employment law and payment-card obligations. A security professional must identify the governing jurisdictions, data subjects, processing purposes, contractual commitments and cross-border transfers rather than assuming that one framework answers every question.

3.1 Privacy by design

Privacy by design incorporates privacy into architecture and default settings. Practical database measures include collecting a less precise attribute where precision is unnecessary, separating identifiers from activity data, using tokenisation, limiting access by purpose, masking data in development and automating deletion or anonymisation.

A privacy impact assessment is useful where processing is likely to create significant risk, such as large-scale profiling, monitoring, sensitive data processing or a new biometric system. It should describe the processing, assess necessity and proportionality, identify risks to individuals and specify mitigations.

Anonymisation aims to make re-identification reasonably infeasible under the relevant circumstances. Pseudonymisation replaces direct identifiers with codes but does not remove personal-data status if a link or additional information can restore identification. This distinction is essential when designing analytics environments.

4. Retention, Deletion and Legal Hold

A retention rule specifies the event that starts retention, the period or review condition, the responsible owner and the approved disposal method. Retention must reconcile several competing needs:

  • operational and customer-service requirements;
  • statutory or regulatory obligations;
  • contractual requirements;
  • audit and financial-record needs;
  • incident investigation and litigation;
  • privacy and minimisation principles;
  • backup and technical feasibility.

A retention schedule should be expressed in business terms. “Keep support records for seven years after closure” is more useful than “keep old records for a long time.” The schedule should distinguish production data, logs, backups, exports and test data because each has different deletion mechanisms and risks.

A legal hold suspends ordinary deletion when litigation, investigation or another preservation duty is reasonably anticipated. It must identify relevant custodians and systems, prevent routine destruction and document release of the hold. A legal hold is not a justification for indefinite retention of all data.

Worked example: selecting a retention period

An organisation stores customer service tickets. Business analysis shows that most tickets are needed for two years after closure. A sector rule requires certain complaint records to be available for five years. The privacy owner confirms that no general business purpose supports longer retention. The approved rule is therefore five years after closure for records within the regulated category and two years for other tickets, subject to legal holds. At the end of the period, records are securely deleted or irreversibly anonymised, and deletion exceptions are logged.

The example illustrates that retention is not simply a technical database setting. It is a documented decision based on purpose, obligation and risk.

5. Ethics in Database Security

Law establishes minimum enforceable duties; ethics provides principles for responsible conduct beyond minimum compliance. Ethical issues arise when technically possible actions may harm individuals or undermine trust.

Important ethical principles include respect for autonomy, avoidance of harm, fairness, proportionality, accountability and professional competence. For example, an organisation may legally be able to collect extensive behavioural information through a broad consent clause, yet doing so may be ethically questionable if users cannot understand the practice or meaningfully refuse it.

Database professionals should ask:

  1. Is the collection necessary for a clearly stated purpose?
  2. Would affected people reasonably expect this use?
  3. Could the data create discrimination, exclusion or reputational harm?
  4. Are controls equally strong for vulnerable populations?
  5. Is monitoring proportionate to the threat?
  6. Can the decision be explained to an auditor, customer or regulator?

Algorithmic systems increase these concerns. Historical database records may contain biased labels or unequal representation. A model can reproduce discrimination even when sensitive attributes are removed, because proxy variables may remain. Governance should therefore require data-quality assessment, documented purposes, human review for high-impact decisions, access controls for training data and testing for disparate outcomes where appropriate.

Whistleblowing and professional integrity are also relevant. A security employee who discovers unauthorised data access should preserve evidence, report through approved channels and avoid retaliation or concealment. Organisations should provide escalation routes and protect good-faith reporting.

6. Control Frameworks and Standards

Frameworks are not interchangeable laws. They help organisations structure risk management and demonstrate disciplined practice, but applicability depends on scope and sector.

6.1 ISO/IEC 27001

ISO/IEC 27001 specifies requirements for an information security management system (ISMS). It emphasises organisational context, leadership, risk assessment, risk treatment, documented information, performance evaluation and continual improvement. Annex A contains a reference set of controls, but an organisation should select controls according to risk and document its applicability decisions.

For database governance, an ISMS can require asset inventories, access management, supplier controls, incident management, backup, logging, secure development and evidence of periodic review. Certification, where obtained, is an independent conformity assessment against the standard’s requirements; it is not a guarantee that no breach can occur.

6.2 NIST Cybersecurity Framework

The NIST Cybersecurity Framework is a risk-management structure traditionally organised around Identify, Protect, Detect, Respond and Recover. The functions support communication between technical and managerial stakeholders. Database examples include identifying sensitive data and dependencies, protecting it with access controls and encryption, detecting anomalous queries, responding to suspected exfiltration and recovering from corruption using tested backups.

NIST publications also provide detailed guidance for risk management, privacy and security controls. The framework is flexible and useful for prioritisation, but organisations must define their own target outcomes and evidence.

6.3 PCI DSS

PCI DSS applies to entities that store, process or transmit payment account data, within the scope defined by the applicable payment ecosystem. It contains detailed requirements concerning protection of account data, secure configurations, access restriction, vulnerability management, logging, testing and policy. Scope reduction through tokenisation or segmentation may reduce exposure, but it must be designed and validated carefully; outsourcing a function does not automatically eliminate accountability.

PCI DSS is narrower and more prescriptive than a general ISMS. An organisation may be ISO-aligned yet fail a PCI requirement, or satisfy a PCI control while lacking mature enterprise-wide governance.

FrameworkPrimary purposeManagement use
ISO/IEC 27001Certifiable information security management systemEstablish governance, risk treatment and continual improvement
NIST CSFFlexible cybersecurity risk structureCommunicate current and target security outcomes
PCI DSSPayment-account-data protection requirementsDemonstrate controls for in-scope payment environments

7. Metrics, Assurance and Evidence

Metrics convert governance intentions into observable information. A metric should have a defined population, owner, collection method, frequency, target and interpretation. Counting activities alone can be misleading. For example, the number of security meetings does not demonstrate that access risk has decreased.

Useful database security metrics include:

  • percentage of privileged accounts reviewed by the due date;
  • percentage of restricted databases encrypted at rest and in transit;
  • number and age of unresolved critical vulnerabilities;
  • percentage of backups that passed restoration tests;
  • percentage of records disposed of within the approved retention window;
  • number of anomalous access events investigated within the required time;
  • percentage of systems with an identified owner and current classification.

A simple compliance rate can be calculated as follows:

Compliance rate = (Number of passing items ÷ Number of applicable items) × 100%

The formula assumes that all applicable items are clearly defined and that each item has a pass/fail evaluation. It does not measure the relative severity of failures. A single failed control protecting payment data may be more significant than several minor failures.

Worked example. Of 240 applicable privileged-account review records, 228 were completed on time. The compliance rate is (228 ÷ 240) × 100% = 95%. This result should be reported with the measurement period, population and exceptions. It should not be interpreted as proof that all privileged access is safe.

A mature dashboard combines leading indicators, such as overdue access reviews, with lagging indicators, such as confirmed data disclosures. Metrics should support decisions: whether to fund remediation, change a process, accept risk or escalate an issue.

Assurance evidence may include approved policies, access-review records, configuration exports, vulnerability reports, training records, restoration-test results, incident tickets and supplier attestations. Evidence should be attributable, time-stamped, protected from alteration and retained according to an approved schedule.

8. Applied Case: Northbridge Health Services

This is an illustrative case. Northbridge Health Services operates clinics and an analytics platform. Its database contains patient identifiers, appointment information, clinical notes and billing data. A legacy reporting database contains copied records from several systems. Developers also use extracts in a shared testing environment.

Background and problem

An internal review finds shared administrator accounts, unencrypted extracts, excessive retention and no reliable inventory of copies. The organisation has not determined which records are subject to different legal requirements. Management initially proposes buying a database monitoring product.

Analysis

The primary weakness is governance, not the absence of a particular tool. Northbridge cannot decide whether monitoring is adequate because it has no authoritative inventory, owners, classification or retention schedule. Shared accounts prevent reliable attribution. Testing copies create unnecessary exposure, and the same retention period has been applied to every record regardless of purpose.

Approach and solution

The security steering group appoints data owners and creates an inventory of production, reporting, backup and test repositories. Data is classified as restricted where it contains sensitive health information. Individual administrator accounts, multifactor authentication and privileged-access logging are introduced. Developers receive masked or synthetic data by default; approved exceptions require documented justification.

The privacy officer conducts a privacy impact assessment for the analytics platform. The records manager creates retention rules based on record category and legal advice, while the legal team defines a hold process. Backups are included in the deletion design, recognising that immediate physical erasure may be technically impractical but must be addressed through expiry, access restriction and documented backup rotation.

The organisation maps controls to its ISMS, uses NIST functions to structure its improvement roadmap and identifies whether any billing component falls within PCI DSS scope. A dashboard reports overdue access reviews, restoration-test success, retention exceptions and high-risk findings.

Outcome

The programme reduces unnecessary copies, improves attribution and gives management evidence for prioritisation. It does not claim that risk has been eliminated. Residual risks, such as backup deletion constraints and supplier dependence, are recorded and assigned to accountable owners.

Learning points

  1. Governance begins with ownership and purpose, not a security product.
  2. A database boundary is not necessarily a data boundary; copies and exports matter.
  3. Privacy, security and retention decisions must be coordinated.
  4. Framework mapping is valuable only when linked to operating evidence.
  5. Risk acceptance must be explicit, time-limited and approved at the proper level.

9. Implementation Challenges and Best Practices

Common challenges include unclear ownership, conflicting retention obligations, legacy applications, international data transfers, supplier access, incomplete asset inventories and resistance from users who value convenience. Organisations may also suffer from “checkbox compliance,” in which documentation exists but controls do not operate effectively.

Best practice is to begin with high-value and high-risk data, establish accountable owners, and implement a repeatable review cycle. Policies should be written in language that business and technical staff can apply. Exceptions should have a reason, compensating controls, an expiry date and approval by an authorised risk owner.

A practical implementation sequence is:

  1. Identify databases, copies, interfaces and owners.
  2. Classify data according to impact and legal sensitivity.
  3. Map purposes, users, processors, jurisdictions and obligations.
  4. Assess threats, vulnerabilities and potential harm.
  5. Define policies, retention rules and control requirements.
  6. Implement least privilege, authentication, encryption, logging, backup and secure disposal.
  7. Measure operation and collect reliable evidence.
  8. Test, audit, remediate and periodically review assumptions.

Contemporary developments include confidential computing, automated data discovery, privacy-enhancing analytics, tokenisation, synthetic data and AI-assisted monitoring. These technologies can reduce exposure, but they do not replace governance. AI systems can produce false positives, expose sensitive training data or make unreviewable decisions. Human accountability, documented evaluation and access restrictions remain necessary.

Chapter Summary

Database security governance aligns business objectives, risk decisions, policies, controls and evidence. Effective governance assigns ownership, classifies data and follows information through creation, use, sharing, storage, backup and disposal. Privacy requires lawful, fair, transparent and proportionate processing, while ethics asks whether practices are responsible and non-harmful even beyond legal minimums.

Retention schedules must balance operational needs, legal obligations, investigation requirements and minimisation. Legal holds suspend ordinary deletion but do not justify indefinite preservation. ISO/IEC 27001 supports an auditable information security management system; NIST CSF structures cybersecurity outcomes and communication; PCI DSS provides specific requirements for payment-account-data environments. Metrics become useful when their population, owner, target and limitations are defined. The central managerial lesson is that tools support governance, but accountable decisions and operating evidence create trustworthy security.

Key Terms

Governance: The system of direction, control and accountability for organisational activities.

Data owner: The business authority accountable for a data asset’s purpose, classification and use.

Data steward: A person responsible for data definitions, quality and operational handling.

Data classification: Categorising information according to sensitivity, value and potential impact.

Data minimisation: Collecting and retaining only information necessary for a stated purpose.

Purpose limitation: Restricting data use to specified and compatible purposes.

Retention schedule: An approved rule defining how long data is kept and how it is disposed of.

Legal hold: A suspension of routine disposal because litigation or investigation is anticipated.

Pseudonymisation: Replacing identifiers with codes while retaining a possibility of re-identification.

Anonymisation: Processing intended to make identification reasonably infeasible.

Privacy by design: Integrating privacy protections into systems and defaults from the beginning.

Privacy impact assessment: A structured assessment of privacy risks and mitigating measures.

Ethics: Principles concerning responsible conduct, fairness and avoidance of harm.

ISMS: An information security management system used to manage security risk and improvement.

ISO/IEC 27001: A standard specifying requirements for an information security management system.

NIST Cybersecurity Framework: A flexible structure for identifying, protecting, detecting, responding and recovering from cyber risk.

PCI DSS: A standard containing requirements for protecting payment account data.

Control metric: A defined measurement used to evaluate control operation or risk.

Evidence: Reliable records demonstrating that a policy or control exists and operates.

Risk acceptance: A formal decision to retain a known risk under specified conditions.

Review Questions

Short Answer Questions

  1. Distinguish a data owner from a database administrator.
  2. What is the difference between pseudonymisation and anonymisation?
  3. State three principles commonly associated with privacy protection.
  4. Why is a legal hold relevant to database deletion?
  5. What does a control metric need in order to be meaningful?

Long Answer Questions

  1. Explain how a database governance chain links business objectives to audit evidence.
  2. Discuss the main factors that should be considered when creating a retention schedule.
  3. Compare ISO/IEC 27001, the NIST Cybersecurity Framework and PCI DSS in terms of purpose and managerial use.
  4. Explain how privacy by design can be implemented in a database and analytics environment.
  5. Discuss why ethical database security requires more than legal compliance.

Analytical / Application Questions

  1. A company retains all customer records indefinitely because storage is inexpensive. Analyse the privacy, security, legal and operational risks, and propose a defensible retention approach.
  2. An audit finds that 95% of privileged-account reviews were completed on time, but the remaining 5% concern the most sensitive databases. Evaluate whether management should regard the result as satisfactory and identify additional metrics or evidence required.
  3. Design a governance response for an organisation that sends production database extracts to an overseas analytics supplier. Address ownership, classification, privacy assessment, contractual controls, access, retention, monitoring and incident response.

Multiple Choice Questions with Answers

Question 1

Which role is primarily accountable for the business purpose and classification of a data asset?

A. Data owner

B. Database administrator

C. External auditor

D. Network technician

Correct Answer: A. Data owner

Question 2

Which principle requires collection and retention of only information necessary for a stated purpose?

A. Purpose limitation

B. Data minimisation

C. Availability

D. Non-repudiation

Correct Answer: B. Data minimisation

Question 3

What is the main effect of a legal hold?

A. It permanently anonymises all records

B. It suspends routine disposal for relevant information

C. It removes the need for retention policies

D. It automatically encrypts archived data

Correct Answer: B. It suspends routine disposal for relevant information

Question 4

Which statement correctly distinguishes pseudonymisation from anonymisation?

A. Pseudonymisation always makes re-identification impossible

B. Anonymisation requires a password while pseudonymisation does not

C. Pseudonymisation may permit re-identification using additional information

D. They are identical technical processes

Correct Answer: C. Pseudonymisation may permit re-identification using additional information

Question 5

Which framework is specifically associated with payment account data protection?

A. PCI DSS

B. NIST CSF

C. ISO/IEC 27001

D. COBIT only

Correct Answer: A. PCI DSS

Question 6

The NIST Cybersecurity Framework traditionally includes which sequence of functions?

A. Plan, Build, Operate, Sell, Archive

B. Identify, Protect, Detect, Respond, Recover

C. Collect, Encrypt, Print, Delete, Certify

D. Audit, Procure, Hire, Train, Retire

Correct Answer: B. Identify, Protect, Detect, Respond, Recover

Question 7

Of 240 applicable reviews, 228 passed on time. What is the compliance rate?

A. 90%

B. 92%

C. 95%

D. 98%

Correct Answer: C. 95%

Question 8

Which statement about ISO/IEC 27001 certification is most accurate?

A. It guarantees that no security incident can occur

B. It demonstrates conformity of an information security management system to the standard’s requirements

C. It applies only to payment-card environments

D. It eliminates the need for risk assessment

Correct Answer: B. It demonstrates conformity of an information security management system to the standard’s requirements

Question 9

Which is the strongest example of privacy by design?

A. Collecting every available attribute for possible future use

B. Giving all developers production database access

C. Using masked or synthetic data in development by default

D. Deleting audit logs immediately after every query

Correct Answer: C. Using masked or synthetic data in development by default

Question 10

Why should a security dashboard combine leading and lagging indicators?

A. To replace all qualitative judgement

B. To show both emerging control weaknesses and realised incidents

C. To avoid defining metric populations

D. To ensure every risk receives the same treatment

Correct Answer: B. To show both emerging control weaknesses and realised incidents

Database Security
Chapter 14 of 15