官术网_书友最值得收藏!

Introduction

In this section, you will learn the definitions of concepts that will be used in the rest of the chapter.

Definer is the owner of a procedure.

Invoker is a user who uses (invokes) a procedure, but is not the definer of the procedure.

Definer's rights procedure is a procedure (or a program unit) that executes with the privileges of its definer.

Invoker's rights procedure is a procedure (or a program unit) that executes with the privileges of the invoker.

Note

Another difference between definer's and invoker's rights procedures is that invoker's rights procedures are not bound to the schema in which they are located.

Code base access control is a new feature, introduced in Oracle Database 12c. It enables you to grant database roles to PL/SQL functions, procedures, or packages. You can use it with definer's and invoker's rights procedures.

The purpose of the accessible by clause is to limit the calling set of program units to be those in the accessible by clause and the unit itself.

Note

For all the recipes in this chapter, you will use non-CDB 12c. We assume that the database is up and running.

主站蜘蛛池模板: 姜堰市| 安义县| 海原县| 永吉县| 红桥区| 卓尼县| 应城市| 满洲里市| 福海县| 永丰县| 资讯 | 浪卡子县| 陵水| 石首市| 闽侯县| 斗六市| 长宁县| 亳州市| 茂名市| 金堂县| 武安市| 东源县| 景德镇市| 林西县| 镇原县| 株洲县| 霍城县| 高碑店市| 绍兴市| 茂名市| 兖州市| 四会市| 阜宁县| 靖边县| 花莲县| 凌云县| 闽清县| 黑山县| 新营市| 宜黄县| 稷山县|