Database Security, Distributed Databases and Database Failure
Database Security, Distributed Databases and Database Failure
Database security encompasses a variety of measures, tools, and controls implemented to protect
database management systems from unauthorized access, cyber-attacks, and accidental breaches.
It aims to ensure the confidentiality, integrity, and availability of data within database systems
2. Separation of Database Servers: Isolating database servers from other servers and
networks helps prevent unauthorized access and reduces the impact of potential breaches.
3. Network Security: Setting up firewalls, using HTTPS for communication, and avoiding
default network ports can help protect database systems from external attacks.
4. Access Controls: Implementing strong authentication measures, assigning user roles, and
enforcing the principle of least privilege ensure that only those with necessary
permissions can access sensitive data.
6. Firewall and Intrusion Detection Systems: Utilizing firewalls and intrusion detection
systems to prevent unauthorized access and to detect potential threats to the database.
Database Failure
A DBMS is vulnerable to several kinds of failures and each of these failures needs to
be managed differently. There are many reasons that can cause database failures such
as network failure, system crash, natural disasters, carelessness, sabotage(corrupting the
data intentionally), software errors, etc.
Types of Failures in DBMS
A failure in DBMS can be classified as:
1. System Crush
2. Transaction failure
3. Data Transfer Failure
Failure Classification in DBMS
Revision Questions
1. What are the security measures that can be used to protect databases?
Distributed Databases
Distributed databases can be classified into homogeneous and heterogeneous databases. Here we
will discuss Homogeneous and Heterogeneous databases.
A distributed database system is a database that is spread across different sites, each managed
by a distributed database management system (DDBMS). It can be classified into two
types: homogenous and heterogeneous.
Homogenous Distributed Database Systems
In a homogenous distributed database system, all the physical locations have the same underlying
hardware and run the same operating systems and database applications. The database systems at
each location are aware of each other and agree to participate in the database system.
Heterogeneous Distributed Database Systems
In a heterogeneous distributed database system, the different database sites may run different
database applications. This means that the systems may be based on different hardware, operating
systems, database management systems and even data models. The sites may not be aware of each
other and may provide only limited facilities for cooperation in transaction processing.Examples
of heterogenous distributed database systems are Oracle and non Oracle database systems such as
Ms access
Revision Question
3) Compare and Contrast homogenous Distributed Database Systems Vs. Heterogeneous
Distributed Database Systems