QuestionQ59

VerifiedDatabase Vault and Access Control

Database Vault is configured and enabled. You want to restrict connections by users HR and FIN from the SQLPLUS client application.

You are preparing the CLIENT_CHECK rule set for use in a CONNECT command rule.

Examine the following steps:

  1. Create a factor named CLIENT_PROG_NAME.
  2. Set the CLIENT_PROG_NAME factor to have IDENTIFY_BY=DBMS_MACUTL.G_IDENTIFY_BY_CONSTANT.
  3. Set the CLIENT_PROG_NAME factor to have EVAL_OPTIONS=DBMS_MACUTL.G_EVAL_ON_STARTUP.
  4. Create a NOT_SQLPLUS rule that evaluates to true when the CLIENT_PROG_NAME factor does not evaluate to 'SQLPLUS' and the user is either HR or FIN.
  5. Create a NOT_APPS rule that evaluates to true only when the user is neither HR nor FIN.
  6. Create a CONNECT factor that references the CLIENT_PROG_NAME factor.
  7. Create a CLIENT_CHECK rule set.
  8. Add the NOT_APPS and NOT_SQLPLUS rules to the CLIENT_CHECK rule set.
  9. Set the CLIENT_CHECK rule set EVAL_OPTIONS=DBMS_MACUTL.G_RULESET_EVAL_ALL.
  10. Set the CLIENT_CHECK rule set EVAL_OPTIONS=DBMS_MACUTL.G_RULESET_EVAL_ANY.

Identify the minimum number of steps, in the correct order, needed to create the rule set.

Explanation

NOT_SQLPLUS is true only for HR or FIN when the client is not SQLPLUS, whereas NOT_APPS is true only for users other than HR and FIN. These are alternative authorization paths, so the rule set must succeed when any rule is true (G_RULESET_EVAL_ANY); requiring all rules to be true would deny every user. A client-program factor must be session-specific, not evaluated once at database startup, and a constant identification method does not retrieve a session client-program value.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!