Database Security
Database Security
Loss of availability
Loss of data integrity
Loss of confidentiality or secrecy
Loss of privacy
Theft and fraud
Accidental losses
Types of Database Security Issues
System-related issues
Organization-based issues
Policy-based issues
Authorization and Authentication
Authorization
It is the process of a granting of right or
privilege to the user(s) to have a legal access
to a system or objects ( database table) of the
system.
Authentication
It is a mechanism that determines whether a
user is who he or she claim to be. (It checks
whether a user operating upon the database
is, in fact, allowed to do so)
It verifies the identity of a person (user) or a
program connecting to a database.
Privilege granting
Privilege revocation
or
SQL Syntax continue…
GRANT { ALL | privilege list [(COLUMN-
COMMA-LIST) ] }
ON { table-name | view-name }
TO
{ PUBLIC | user-list }
[WITH GRANT OPTION]
Meaning of various clauses:
ALL All the privileges for the object for
which the user issuing the GRANT has grant
authority, is granted.
or
SQL Syntax for REVOKE
command
REVOKE { ALL | privilege-list [ (column-
comma-list) ] }
ON { table-name | view-name }
FROM
{ PUBLIC | user-list }
Meaning of various clauses:
ALL All the privileges for the object
specified are revoked.