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

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.

主站蜘蛛池模板: 葵青区| 新龙县| 土默特左旗| 滕州市| 紫金县| 盱眙县| 万载县| 宜城市| 九龙坡区| 宜川县| 平武县| 高邮市| 唐海县| 丰镇市| 台中市| 河源市| 梨树县| 抚顺县| 旺苍县| 镇原县| 宜黄县| 鹤山市| 车致| 库尔勒市| 象州县| 镇赉县| 三明市| 南丹县| 乐至县| 江阴市| 绵竹市| 山阴县| 南城县| 宁乡县| 岫岩| 于都县| 昂仁县| 凉城县| 建昌县| 海兴县| 长阳|