Docsity

DBMS- Data and Database Security, Study notes of Database Management Systems (DBMS)

Partial preview of the text

Download DBMS- Data and Database Security and more Study notes Database Management Systems (DBMS) in PDF only on Docsity!

Data and Database

Security

Traditional Administration

Definitions

Data Administration : A high-level function that is

responsible for the overall management of data

resources in an organization, including maintaining

corporate-wide definitions and standards

 Database Administration : A technical function that

is responsible for physical database design and for

dealing with technical issues such as security

enforcement, database performance, and backup

and recovery

Open Source DBMSs  An alternative to proprietary packages such as Oracle, Microsoft SQL Server, or Microsoft Access  mySQL is an example of open-source DBMS  Less expensive than proprietary packages  Source code available, for modification

Figure 12-2 Data modeling responsibilities

Figure 12-3 Possible locations of data security threats

Threats to Data Security 

Accidental losses attributable to:

 (^) Human error  (^) Software failure  (^) Hardware failure

 Theft and fraud

 Improper data access:

 (^) Loss of privacy (personal data)  (^) Loss of confidentiality (corporate data)

 Loss of data integrity

 Loss of availability (through, e.g. sabotage)

Database Software Security Features

  • Views or subschemas
  • (^) Integrity controls
  • (^) Authorization rules
  • User-defined procedures
  • (^) Encryption
  • (^) Authentication schemes
  • Backup, journalizing, and checkpointing

Views and Integrity Controls 

Views

 (^) Subset of the database that is presented to one or more users  (^) User can be given access privilege to view without allowing access privilege to underlying tables 

Integrity Controls

 (^) Protect data from unauthorized use  (^) Domains–set allowable values  (^) Assertions–enforce database conditions

Figure 12-5 Authorization matrix

Some DBMSs also provide capabilities for user-defined procedures to customize the authorization process Figure 12-6a Authorization table for subjects (salespe Figure 12-6b Authorization table for objects (order Figure 12-7 Oracle privileges Implementing authorization rules

Authentication Schemes  Goal – obtain a positive identification of the user  Passwords: First line of defense 

Should be at least 8 characters long

Should combine alphabetic and numeric data

Should not be complete words or personal

information

Should be changed frequently

Authentication Schemes (cont.) Strong Authentication  (^) Passwords are flawed:  (^) Users share them with each other  (^) They get written down, could be copied  (^) Automatic logon scripts remove need to explicitly type them in  (^) Unencrypted passwords travel the Internet  (^) Possible solutions:  (^) Two factor–e.g. smart card plus PIN  (^) Three factor–e.g. smart card, biometric, PIN  (^) Biometric devices–use of fingerprints, retinal scans, etc. for positive ID  (^) Third-party mediated authentication–using secret keys, digital certificates

Database Recovery  Mechanism for restoring a database quickly and accurately after loss or damage  Recovery facilities:

  • (^) Backup Facilities
  • (^) Journalizing Facilities
  • (^) Checkpoint Facility
  • (^) Recovery Manager

Back-up Facilities  Automatic dump facility that produces backup copy of the entire database  Periodic backup (e.g. nightly, weekly)  Cold backup–database is shut down during backup  Hot backup–selected portion is shut down and backed up at a given time  Backups stored in secure, off-site location