RDBPROD: Enforcing Row Level Security (Doc ID 65268.1)

Last updated on AUGUST 03, 2016

Applies to:

Oracle Rdb Server on OpenVMS - Version 7.0 and later
HP OpenVMS Itanium
HP OpenVMS Alpha
HP OpenVMS VAX

Goal

How do I restrict a user to seeing only a subset of rows in a table?

This is a common problem in secure environments. How can you grant access to a user to a specific set of rows in a table? For instance, given the MF_PERSONNEL database how can I restrict the manager of the ADMN department to only seeing EMPLOYEE records for employees from his department?

The USER and ROLE features introduced in Oracle Rdb 7.1 can be used to grant specific database privileges to users, but cannot in themselves limit access to specific rows within a table.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms