Creating a secure application role
A secure application role is a database role whose enablement depends on the evaluation of a specified condition. In this recipe, you'll learn to create secure application role using Oracle Database Vault. The condition that determines whether the role will be enabled is specified by rule set (you can use built-in rule set or create your own).
How to do it...
Create rule set with name
Can Access Customer Data
and with ruleDVF.F$MACHINE = <your host name>
(for example, name it:Is Local Machine
). In our case, hostname ishost01.challengezoran.com
(see Figure 27). Refer to the recipe Creating rule sets for full explanation.In the Database Vault Components panel, click on the Secure Application Roles link and then click on the Create button (see Figure 28).
Define secure application role settings. In our case, we secure the role
cust_role
and condition for enablement is defined...