Presentation DbMS
Presentation DbMS
Topic:
USER MANAGEMENT
Laiba Hamid
071179
Introduction to Database
User Management:
Database user management refers to the process of creating,
maintaining, and controlling access to user accounts within a
database management system (DBMS). It involves tasks such as
creating user accounts, assigning privileges, managing user groups,
and enforcing security policies.
Users inherit the privileges assigned to the group to which they belong.
Granting privileges to groups allows all members of the group to access and
manipulate database objects based on their role requirements.
Example:
Demonstrating how to grant privileges to a group:
sql GRANT SELECT, INSERT ON employees TO admin_role;
Revoking Privileges from
Groups:
Revoking privileges from groups involves removing previously granted
permissions from all members of the group.
Example:
Demonstrating how to revoke privileges from a group:
sql REVOKE INSERT ON employees FROM admin_role;
Best Practices for Database
User Management:
Regularly review and update user permissions to align with
changing business requirements.