系統許可權 GRANT ANY OBJECT PRIVILEGE的作用!
To grant a system privilege, you must either have been granted the system privilege with the ADMIN
OPTION
or have been granted the GRANT
ANY
PRIVILEGE
system privilege.
To grant a role, you must either have been granted the role with the ADMIN
OPTION
or have been granted the GRANT
ANY
ROLE
system privilege, or you must have created the role.
To grant an object privilege, you must own the object, or the owner of the object must have granted you the object privileges with the GRANT
OPTION
, or you must have been granted the GRANT
ANY
OBJECT
PRIVILEGE
system privilege. If you have the GRANT
ANY
OBJECT
PRIVILEGE
, then you can grant the object privilege only if the object owner could have granted the same object privilege. In this case, the GRANTOR
column of the DBA_TAB_PRIVS
view displays the object owner rather than the user who issued the GRANT
statement.
C:>SQLPLUS test/test
SQL*Plus: Release 10.2.0.1.0 - Production on 星期三 6月 1 17:09:47 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
連線到:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> select * from t;
ID NAME
---------- ----------
3 c
1 a
2 b
SQL> grant select on t to test1;
授權成功。
SQL> connect test1/test1
已連線。
SQL> grant select on test.t to test2;
grant select on test.t to test2
*
第 1 行出現錯誤:
ORA-01031: 許可權不足
SQL> connect / as sysdba
已連線。
SQL> grant GRANT ANY OBJECT PRIVILEGE to test1;
授權成功。
SQL> connect test1/test1
已連線。
SQL> grant select on test.t to test2;
授權成功。
SQL>
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/19602/viewspace-1050658/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 擁有GRANT ANY OBJECT PRIVILEGE許可權時的許可權回收Object
- Oracle 許可權(grant、revoke)Oracle
- Oracle users / 許可權 / grant privOracle
- Oracle的物件許可權、角色許可權、系統許可權Oracle物件
- 【Privilege】Oracle系統許可權非級聯收回現象測試Oracle
- oracle受權與回收許可權grant和revokeOracle
- mongodb 的許可權系統MongoDB
- Android系統許可權和root許可權Android
- 系統許可權ADMINISTER DATABASE TRIGGER的作用Database
- 12c 新增許可權Inherit privilege說明
- Listings of System and Object Privileges--系統和物件許可權列表Object物件
- MySQL許可權系統MySql
- Oracle系統許可權Oracle
- Oracle 使用者、物件許可權、系統許可權Oracle物件
- oracle常見受權與回收許可權 grant和revokeOracle
- 和物件許可權相關的表table_privilege_map物件
- Grant許可權導致執行計劃失效
- 如果得知無許可權的 Authorization ObjectObject
- 基本Linux許可權提升(Basic Linux Privilege Escalation)Linux
- 關於under any table/view 許可權的解釋View
- 【JavaWeb】許可權管理系統JavaWeb
- 有贊許可權系統
- Android系統許可權Android
- 許可權系統設計
- 許可權系統跟進
- mysql操作命令梳理(4)-grant授權和revoke回收許可權MySql
- 系統許可權傳遞和物件許可權傳遞的測試物件
- 檢視角色裡包含的系統許可權、物件許可權和角色物件
- 打造自己的系統許可權控制
- 【Privilege】Oracle物件許可權級聯收回現象測試Oracle物件
- SpringSecurity許可權管理系統實戰—九、資料許可權的配置SpringGse
- 角色許可權(Role)和系統許可權(System)的幾個澄清實驗
- 許可權維持專題:作業系統許可權維持作業系統
- 企業許可權管理系統
- Winner許可權管理系統3.0
- MySQL許可權系統簡介MySql
- 通用許可權系統介紹
- 許可權系統概要(收集,整理)