ScholarQuill logoScholarQuillUniversity Notes
  • Notes
  • Past Papers
  • Blogs
  • Todo
Login
ScholarQuill logoScholarQuillUniversity Notes
Login
NotesPast PapersBlogsTodo
More
SubjectsDiscussionCGPA CalculatorGPA CalculatorStudent PortalCourse Outline
About
About usPrivacy PolicyReportContact
Notes
Past Papers
Blogs
Todo
Analytics
    Current Subject
    🧩
    Cyber Security
    COMP3143
    Progress0 / 21 topics
    Topics
    1. Introduction to Cyber security2. Networks and the Internet3. Cyber threat landscape4. Understanding security and information security principles5. Information Security Terminology6. Who are the attackers and Advanced Persistent Threat (APT)7. Malware and types of malware8. Attacks using malware and Malware Attack Lifecycle9. Social engineering attacks and types of payload10. Industrial Espionage in Cyberspace11. Basic cryptography12. Web application attacks13. Database security14. Cyber kill chain15. Privacy and anonymity16. Network security17. Software security18. Mobile device security and Mobile app security19. Cyber Terrorism and Information Warfare20. Introduction to Digital Forensics21. Digital Forensics Categories
    COMP3143›Database security
    Cyber SecurityTopic 13 of 21

    Database security

    3 minread
    498words
    Beginnerlevel

    Database Security

    What is Database Security?

    Database Security refers to the measures, policies, and technologies used to protect databases from unauthorized access, misuse, attacks, and data breaches. It ensures that data stored in databases is confidential, available, and accurate.


    Objectives of Database Security

    1. Confidentiality – Only authorized users can access sensitive data.
    2. Integrity – Ensures data is accurate, consistent, and not tampered with.
    3. Availability – Data is accessible to authorized users when needed.
    4. Authentication & Authorization – Verify identity and assign proper access.
    5. Auditability – Track and log all database activities to detect misuse.

    Threats to Database Security

    1. Unauthorized Access – Attackers or insiders accessing data without permission.
    2. SQL Injection Attacks – Injecting malicious SQL commands to manipulate the database.
    3. Privilege Abuse – Misuse of elevated database permissions by insiders.
    4. Malware / Ransomware – Attacks targeting stored data or backup systems.
    5. Data Leakage – Accidental or intentional exposure of sensitive data.
    6. Backup Theft or Loss – Access to backup files by attackers.
    7. Weak Authentication – Use of default or weak passwords.

    Database Security Techniques

    1. Access Control

    • Restrict access using user roles and privileges.
    • Implement the principle of least privilege (PoLP) – users get only the access they need.

    2. Authentication

    • Verify user identity before granting access.

    • Techniques:

      • Passwords
      • Multi-factor authentication (MFA)
      • Biometric authentication

    3. Encryption

    • Protect data at rest (stored in databases) and in transit (while transferring).

    • Methods:

      • Transparent Data Encryption (TDE)
      • SSL/TLS for network encryption

    4. Backup and Recovery

    • Regularly back up databases to secure locations.
    • Ensure recovery procedures in case of data loss or ransomware attacks.

    5. Database Auditing and Monitoring

    • Track all user activities and database changes.
    • Detect suspicious behavior or policy violations.
    • Tools: native database auditing or SIEM integration.

    6. SQL Injection Prevention

    • Use parameterized queries or prepared statements.
    • Validate and sanitize all user inputs.
    • Avoid exposing detailed error messages to users.

    7. Security Patches and Updates

    • Regularly update the database management system (DBMS) and related software to fix vulnerabilities.

    8. Data Masking

    • Hide sensitive data when displayed to unauthorized users or during testing.

    9. Network Security for Databases

    • Restrict database access via firewalls.
    • Use VPNs or private networks for internal database communication.
    • Avoid direct internet exposure of database ports.

    Types of Database Security Controls

    Control Type Description
    Physical Controls Protect database servers from physical threats (locks, surveillance, restricted access)
    Technical Controls Encryption, access control, intrusion detection, secure configurations
    Administrative Controls Policies, procedures, user training, audits

    Database Security Best Practices

    1. Apply least privilege access.
    2. Regularly update and patch database software.
    3. Enable audit trails and monitor logs.
    4. Use strong passwords and MFA.
    5. Encrypt sensitive data in storage and transit.
    6. Conduct regular vulnerability assessments.
    7. Back up data and verify recovery procedures.
    8. Train employees on data handling and security awareness.

    Conclusion

    Database security is critical to protect sensitive information from cyber threats and insider misuse. Combining access controls, encryption, auditing, secure coding, and regular updates helps organizations maintain confidentiality, integrity, and availability of their data assets.

    Previous topic 12
    Web application attacks
    Next topic 14
    Cyber kill chain

    Past Papers

    Open this section to load past papers

    Click on Show Past Papers to see past papers.
    On This Page
      Reading Stats
      Est. reading time3 min
      Word count498
      Code examples0
      DifficultyBeginner