Managing access by the DBADM authority
An ID with the DBADM authority on a database has many privileges on that database and its tables. These privileges include the SELECT, INSERT, DELETE, UPDATE, and ALTER statements on any table in the database. They also include the CREATE and DROP statements on indexes for those tables.
About this task
For security reasons, the Spiffy security planners prefer not to grant all of the privileges that come with DBADM authority on DSN8D13A. DSN8D13A is the database that holds the employee table and the payroll update table.
The Spiffy security planners prefer to grant DBCTRL authority on the database because granting DBCTRL authority does not expose as many security risks as granting DBADM authority. DBCTRL authority allows an ID to support the database without allowing the ID to retrieve or change the data in the tables. However, database DSN8D13A contains several additional tables. These additional tables require some of the privileges that are included in DBADM authority but not included in DBCTRL authority.
The Spiffy security planners decide to compromise between the greater security of granting DBCTRL authority and the greater flexibility of granting DBADM authority. To balance the benefits of each authority, the Spiffy security planners create an administrative ID with some, but not all of the DBADM privileges. The security plan calls for a RACF® group ID with the following authorities and privileges:
- DBCTRL authority over DSN8D81A
- The INDEX privilege on all tables in the database except the employee table and the payroll update table
- The SELECT, INSERT, UPDATE, and DELETE privileges on certain tables, excluding the employee table and the payroll update table
An ID with SYSADM authority grants the privileges to the group ID.
In a similar situation, you also might consider putting the employee table and the payroll update table in a separate database. Then you can grant DBADM authority on DSN8D13A, and grant DBCTRL authority on the database that contains the employee table and the payroll update table.