16.10.2015 Views

Getting Started with DB2 Express-C

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 10 – Database Security 175<br />

Command<br />

SERVER (default)<br />

CLIENT<br />

SERVER_ENCRYPT<br />

KERBEROS<br />

SQL_AUTHENTICATION_DATAENC<br />

SQL_AUTHENTICATION_DATAENC_CMP<br />

GSSPLUGIN<br />

Description<br />

Authentication takes place at the server<br />

Authentication takes place on the client<br />

Like SERVER except user IDs and<br />

passwords are encrypted<br />

Authentication takes place using a Kerberos<br />

security mechanism<br />

Server authentication plus connections must<br />

use data encryption<br />

Like above, except data encryption only<br />

used when available<br />

Authentication uses an external GSS APIbased<br />

plug-in security mechanism<br />

Table 10.1 – Valid AUTHENTICATION parameter values<br />

10.2 Authorization<br />

Authorization consists of the privileges, authorities, roles, and label-based access control<br />

(LBAC) credentials that are stored in <strong>DB2</strong> system tables and are managed by <strong>DB2</strong>.<br />

A privilege allows a user to execute a single type of operation against the database, such<br />

as CREATE, UPDATE, DELETE, INSERT, etc.<br />

A role allows you to group together different privileges that you can grant to a user, group,<br />

or other roles.<br />

An authority is a predefined role consisting of several privileges.<br />

Label-based Access Control (LBAC) credentials include policies and labels supporting<br />

granular access to specific rows and columns by given users. LBAC is not included <strong>with</strong><br />

<strong>DB2</strong> <strong>Express</strong>-C, but you can read more about it in Chapter 2.<br />

10.2.1 Privileges<br />

Figure 10.3 shows some of the different privileges in <strong>DB2</strong>.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!