ScholarQuill logoScholarQuillUniversity Notes
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
Study Tools
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
Contact
ScholarQuill logo
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
ScholarQuill logoScholarQuillUniversity Notes
Study PortalCOMP3146Database Administratio…
Ctrl + K
Login
Explore
Search
Semester
Papers
CGPA
    COMP3146

    Advance Database Management Systems

    Progress0 / 18 done
    Topics18
    1Introduction to advance data models such as object relational, object oriented2File organizations concepts3Transactional processing4Concurrency control techniques5Recovery techniques6Query processing and optimization7Database Programming (PL/SQL)8Database Programming (T-SQL)9Database Programming (similar technology)10Integrity and security11Database Administration (Role management)12Database Administration (managing database access)13Database Administration (views)14Physical database design and tuning15Distributed database systems16Emerging research trends in database systems17MONGO DB18NO SQL (or similar technologies)
    3 min read
    Topic 12 of 18
    Topic Study Note Illustration
    12

    Database Administration (managing database access)

    Managing database access involves controlling who can connect to the database and what actions they are allowed to perform on database objects (tables, views, procedures, etc.).

    🔑 Database Administration: Managing Database Access


    1. What is Managing Database Access?

    Managing database access involves controlling who can connect to the database and what actions they are allowed to perform on database objects (tables, views, procedures, etc.).

    • Ensures data security and privacy.
    • Prevents unauthorized data manipulation or leakage.
    • Supports regulatory compliance.

    2. Components of Database Access Management

    Component Description
    Authentication Verifying the identity of users or applications attempting to access the database.
    Authorization Granting or denying permissions to authenticated users for database operations.
    Privileges and Roles Using granular permissions and role-based access to manage user rights efficiently.
    Auditing Tracking user activities for security monitoring and compliance.

    3. Authentication

    • Confirms the identity of the user connecting to the database.

    • Common methods:

      • Username and password
      • Multi-factor authentication (MFA)
      • Integration with LDAP, Active Directory, or Kerberos
      • Certificate-based authentication

    4. Authorization and Access Control

    • Once authenticated, the database server checks what the user is authorized to do.

    • Controls access at multiple levels:

      • Database level: Permission to connect or create databases.
      • Schema/Object level: Permissions on tables, views, procedures, etc.
      • Row and column level: Some systems allow fine-grained access control.

    5. Privileges

    • Basic permissions granted to users or roles to perform actions like:

      • SELECT – read data
      • INSERT – add new data
      • UPDATE – modify existing data
      • DELETE – remove data
      • EXECUTE – run stored procedures or functions
      • ALTER – modify database objects

    6. Granting and Revoking Access

    Granting Access:

    GRANT SELECT, INSERT ON employees TO user_john;
    

    Revoking Access:

    REVOKE INSERT ON employees FROM user_john;
    

    7. Role-Based Access Control (RBAC)

    • Instead of granting privileges to individual users, assign privileges to roles.
    • Users are then assigned these roles.
    • Simplifies permission management, especially in large systems.

    8. Fine-Grained Access Control (FGAC)

    • Enables access control at a more detailed level than just tables.

    • Examples:

      • Row-level security: Users can only see rows they are authorized for.
      • Column-level security: Restrict access to sensitive columns.
    • Supported in DBMS like Oracle (VPD – Virtual Private Database), SQL Server, PostgreSQL.


    9. Auditing Access

    • Logging who accessed what and when.

    • Useful for:

      • Detecting unauthorized access.
      • Meeting compliance requirements.
      • Investigating security incidents.

    10. Summary Table

    Topic Purpose Example Command
    Authentication Verify user identity Database login process
    Authorization Grant or deny permissions GRANT SELECT ON table TO user;
    Privileges Define specific operations allowed INSERT, UPDATE, DELETE, EXECUTE
    Role-Based Access Manage access via roles GRANT role TO user;
    Fine-Grained Control Row/column level restrictions Row-level security policies
    Auditing Track and log database activity Enable audit trails

    Why Managing Database Access is Critical

    • Protects sensitive and confidential information.
    • Prevents accidental or malicious data loss.
    • Supports compliance with laws like GDPR, HIPAA, PCI-DSS.
    • Enables secure multi-user database environments.

    ← Previous topic 11
    Database Administration (Role management)
    Next topic 13 →
    Database Administration (views)

    Past Papers

    Open this section to view and download past papers

    Click on Show Past Papers to load available exam papers.

    Reading Progress
    0%
    3mremaining
    451words
    Beginnerlevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Advance Database Management Systems