Book Image

Oracle Database 12c Security Cookbook

By : Zoran Pavlovic, Maja Veselica
Book Image

Oracle Database 12c Security Cookbook

By: Zoran Pavlovic, Maja Veselica

Overview of this book

Businesses around the world are paying much greater attention toward database security than they ever have before. Not only does the current regulatory environment require tight security, particularly when dealing with sensitive and personal data, data is also arguably a company’s most valuable asset - why wouldn’t you want to protect it in a secure and reliable database? Oracle Database lets you do exactly that. It’s why it is one of the world’s leading databases – with a rich portfolio of features to protect data from contemporary vulnerabilities, it’s the go-to database for many organizations. Oracle Database 12c Security Cookbook helps DBAs, developers, and architects to better understand database security challenges. Let it guide you through the process of implementing appropriate security mechanisms, helping you to ensure you are taking proactive steps to keep your data safe. Featuring solutions for common security problems in the new Oracle Database 12c, with this book you can be confident about securing your database from a range of different threats and problems.
Table of Contents (18 chapters)
Oracle Database 12c Security Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface

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 Secure Application Roles link and then click on the Create button (see Figure 28).

    Figure 28 - Create a secure application role

  3. Define secure application role settings. In our case, we secure the role cust_role and condition for enablement is defined...