My Oracle Support Banner

RDBPROD: Enforcing Row Level Security (Doc ID 65268.1)

Last updated on APRIL 14, 2022

Applies to:

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

NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product or other training material. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.

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

To view full details, 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 a vibrant support community of peers and Oracle experts.