Authorization and Access Control

SublimeQuasimodo avatar
SublimeQuasimodo
·
·
Download

Start Quiz

Study Flashcards

10 Questions

What is the primary function of RACF in relation to Db2 resources?

To determine the authorization of IDs for Db2 resources

How can you limit access to a specific Db2 program using IMS?

By authorizing a transaction code to be entered only from a specific LTERM

What is the purpose of the ENABLE and DISABLE options of the bind operation in Db2?

To limit access to specific CICS subsystems

What is the role of TSO in verifying IDs when accessing a local Db2 subsystem?

To verify the ID when logging on

What type of access control is implemented by associating each LTERM with a list of transaction codes?

Role-based access control

What is the primary authorization ID used when running Db2 under TSO?

The TSO logon ID

What is the purpose of IMS terminal security in relation to Db2?

To limit the entry of transaction codes to specific LTERMs

What is the role of RACF in managing access to Db2 resources?

To determine the authorization of IDs for Db2 resources

What type of access control is implemented by using RACF to control access to Db2 resources?

Privilege-based access control

What is the primary benefit of using IMS or CICS to manage access to Db2 resources?

Improved security

Study Notes

Managing Access through Authorization IDs and Roles

  • Authorization IDs and roles are used to manage access in Db2.
  • Roles can be created in a trusted context with the SECADM authority.

Privileges and Authorities

  • Explicit privileges can be granted to a role or authorization ID.
  • Implicit privileges can be granted through object ownership.
  • Administrative authorities, such as SYSADM and DBADM, can be granted to manage access.
  • Utility authorities, such as ACCESSCTRL, can be granted to manage privileges.
  • Common Db2 administrative authorities include SYSADM, DBADM, and ACCESSCTRL.

Managing Administrative Authorities

  • Separating the SYSADM authority can be done to manage access.
  • Migrating the SYSADM authority can be done to transfer ownership.
  • Creating roles or trusted contexts with the SECADM authority can be done to manage access.
  • Altering tables with the system DBADM authority can be done to manage access.
  • Accessing data with the DATAACCESS authority can be done to manage access.
  • Granting and revoking privileges with the ACCESSCTRL authority can be done to manage access.

Managing Explicit Privileges

  • Granting privileges to a role or authorization ID can be done to manage access.
  • Granting privileges to the PUBLIC ID can be done to grant access to all users.
  • Granting privileges to remote users can be done to manage access.
  • Granting privileges through views can be done to manage access.
  • Granting privileges with the GRANT statement can be done to manage access.
  • Revoking privileges with the REVOKE statement can be done to manage access.

Managing Implicit Privileges

  • Ownership of objects with unqualified names can be managed to grant implicit privileges.
  • Ownership of objects with qualified names can be managed to grant implicit privileges.
  • Ownership of objects within a trusted context can be managed to grant implicit privileges.
  • Changing object ownership can be done to manage access.
  • Granting implicit privileges of object ownership can be done to manage access.

Managing Privileges for Routines

  • Privileges required for executing routines can be managed to grant access.
  • Examples of granting privileges for routines can be done to illustrate access management.

Authorization Behaviors

  • Run behavior can be used to authorize dynamic SQL statements.
  • Bind behavior can be used to authorize dynamic SQL statements.
  • Define behavior can be used to authorize dynamic SQL statements.
  • Invoke behavior can be used to authorize dynamic SQL statements.
  • Common attribute values for bind, define, and invoke behaviors can be used to manage access.

Retrieving Privilege Records

  • Catalog tables with privilege records can be used to retrieve privilege information.
  • Retrieving all authorization IDs or roles with granted privileges can be done to manage access.
  • Retrieving multiple grants of the same privilege can be done to manage access.
  • Retrieving all authorization IDs or roles with the DBADM and system DBADM authorities can be done to manage access.
  • Retrieving all IDs or roles with access to the same table can be done to manage access.
  • Retrieving all IDs or roles with access to the same routine can be done to manage access.

Implementing Multilevel Security

  • Multilevel security can be implemented to manage access.
  • Mandatory access checking can be used to implement multilevel security.
  • Implementing multilevel security at the object level can be done to manage access.
  • Implementing multilevel security with row-level granularity can be done to manage access.
  • Restricting access to the security label column can be done to manage access.
  • Managing data in a multilevel-secure environment can be done to manage access.
  • Implementing multilevel security in a distributed environment can be done to manage access.

Managing Access through Views

  • Granting or not granting privileges on views can be used to specify access to tables.
  • Granting privileges on databases, plans, packages, and the entire Db2 subsystem can be done to manage access.
  • Granting privileges to execute an application plan or package can be done to provide a finely detailed set of privileges.
  • Granting privileges to an ID can provide a finely detailed set of privileges.

Recommendation

  • Instead of granting privileges to many primary authorization IDs, consider associating each of those primary IDs with the same secondary ID or a role if running in a trusted context.

Using RACF and IMS/CICS

  • RACF determines whether the ID is authorized for Db2 resources.
  • IMS terminal security can be used to limit the entry of a transaction code to a particular logical terminal.
  • CICS transaction code security can be used to control the transactions and programs that can access Db2.
  • Db2 data access control can be used to manage access to data.

This quiz covers the concepts of authorization IDs, roles, and access control in a trusted context. Learn about the importance of authorization IDs and roles in managing access and security.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free
Use Quizgecko on...
Browser
Browser