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

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.

主站蜘蛛池模板: 保亭| 长宁区| 来凤县| 中卫市| 进贤县| 宁蒗| 长子县| 阿拉善右旗| 法库县| 康平县| 石台县| 肇东市| 谷城县| 恭城| 潞城市| 景谷| 武定县| 安新县| 普兰县| 新津县| 淮滨县| 怀仁县| 太湖县| 嫩江县| 刚察县| 沙坪坝区| 祁阳县| 太仓市| 刚察县| 临沂市| 东海县| 东港市| 盖州市| 会泽县| 太保市| 玛多县| 鲜城| 磐安县| 呼图壁县| 望谟县| 太白县|