Skip to Main Content
  • Questions
  • RAS enabled table- database user cannot access

Breadcrumb

Question and Answer

Chris Saxon

Thanks for the question, Malini .

Asked: December 09, 2021 - 2:42 pm UTC

Last updated: December 15, 2021 - 2:33 pm UTC

Version: 19

Viewed 1000+ times

You Asked

Hello
I am trying to understand RAS but there is limited information in internet.

When I apply a policy to a table, I cannot see the data in the table using database users anymore.

I was expecting that the table will be empty only for application users , but looks like it’s not the case.

Is there a way to enable this policy only for the application users and not database users ?

Regards
Malini

and Chris said...

Please share scripts showing what you're doing.

What you have access to do depends on how the roles are configured. If the default policy restricts access, then you'll need to enable roles that do allow access to see data.

You may find the RAS demo in the docs useful:

https://docs.oracle.com/en/database/oracle/oracle-database/19/dbfsg/real-application-security-hr-demo.html#GUID-F38C8CA7-05B0-4939-AF59-741D8EF7FB87

You may also find the APEX RAS admin app helpful in managing access:

https://www.oracle.com/database/technologies/real-application-security-ras.html

Is this answer out of date? If it is, please let us know via a Comment

More to Explore

Design

New to good database design? Check out Chris Saxon's full fundamentals class.