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...

  1. Create rule set with name Can Access Customer Data and with rule DVF.F$MACHINE = <your host name> (for example, name it: Is Local Machine). In our case, hostname is host01.challengezoran.com (see Figure 27). Refer to the recipe Creating rule sets for full explanation.

    Figure 27 - Is a Local Machine rule

  2. In the Database Vault Components panel, click on the

Get Oracle Database 12c Security Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.