Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 E-mail Us
 Oracle Articles
New Oracle Articles

 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog

 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Oracle Support

 SQL Tuning

 Oracle UNIX
 Oracle Linux
 Remote s
 Remote plans
 Application Server

 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S


 Consulting Staff
 Consulting Prices
 Help Wanted!


 Oracle Posters
 Oracle Books

 Oracle Scripts

Don Burleson Blog 







PL/SQL accessible by clause

Oracle Database Tips by Donald BurlesonNovember 1, 2015

How does white-listing within Oracle 12c?  Can you give an example f the accessible by clause in PL/SQL in 12c?.



Answer:  As the term denotes, "white listing" involves specific allowing of access to a stored procedure in PL/SQL:

create or replace procedure
  accessible by (calling_plsql_1, calling_plsql_2, calling_plsql_3)
   . . .

Above we see the white list calling_plsql_1 through calling_plsql_3 as defined in the accessible by clause.


This is quite different to the other option, the "grant execute" clause, which specifically allows execution-level privileges on a PL/SQL stored procedure to a specific user. 


White listing further confuses the methods for Oracle security by expanding the rights to execute a stored procedure to a list of users or to a list of stored procedures and/or functions. 


If you try to execute a PL/SQL from a PL/SQL procedure (or function) that is not on the whitelist, you will get an PLS-00904 error:


create or replace procedure
   not_in_white_list as
Warning: Procedure created with compilation errors.
SQL> show errors
-------- -----------------------------------------------------------------
4/3       PL/SQL: Statement ignored
4/3       PLS-00904: insufficient privilege to access object PROTECTED_PL_SQL_1



Oracle Training from Don Burleson 

The best on site "Oracle training classes" are just a phone call away! You can get personalized Oracle training by Donald Burleson, right at your shop!

Oracle training



Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.



Oracle Training at Sea
oracle dba poster

Follow us on Twitter 
Oracle performance tuning software 
Oracle Linux poster