Difference of Revoke System Privileges and Object Privileges
system privelege :
grant ... with admim option
revoke ... Not cascade
object privilege :
grant ... with grant optin
revoke ... cascade
Read through the following steps that
illustrate this.
Scenario
1. The DBA grants the CREATE TABLE system
privilege to Jeff with the ADMIN OPTION.
2. Jeff creates a table.
3. Jeff grants the CREATE TABLE system
privilege to Emi.
4. Emi creates a table.
5. The DBA revokes the CREATE TABLE system
privilege from Jeff.
The
result
Jeff’s table still exists, but no new
tables can be created.
Emi’s table still exists and she still has the CREATE TABLE system privilege.
Revoking Object Privileges
Cascading effects can be observed when revoking a system privilege that is related to a DML operation. For example, if the SELECT ANY TABLE privilege is granted to a user, and that user has created procedures that use the table, all procedures that are contained in the user’s schema must be recompiled before they can be used again.
Revoking object privileges will also cascade when given WITH GRANT OPTION.
Read through the following steps that illustrate this.
Scenario
• Jeff is granted the SELECT object privilege on EMPLOYEES with the GRANT OPTION.
• Jeff grants the SELECT privilege on EMPLOYEES to Emi.
• Later, the SELECT privilege is revoked from Jeff. This revoke is cascaded to Emi as well.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/12472709/viewspace-1036184/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle/PLSQL: Grant/Revoke PrivilegesOracleSQL
- revoke EXECUTE privileges on powerful packages from PUBLICPackage
- Listings of System and Object Privileges--系統和物件許可權列表Object物件
- ORA-20000: Insufficient privileges to analyze an object in SchemaObject
- Minimum Requirements to Use Export DataPump and IMP(System Privileges)_351598.1UIREMExport
- db2_privilegesDB2
- Administrative Privileges (31)
- Privileges on the Defining Function (204)Function
- RMAN system 遠端連線 ORA-01031: insufficient privileges
- SYSDBA and SYSOPER Privileges in Oracle [ID 50507.1]Oracle
- Connection with Administrator Privileges (286)
- Database Administrator Security and Privileges (24)Database
- Connecting with Administrative Privileges: Example (33)
- MogDB-openGauss default privileges 使用方法
- MySQL必須flush privileges的兩種情況MySql
- PostgreSQL DBA(44) - Privileges & User Management - What You Should KnowSQL
- Mysql8.0不支援grant all privileges on *.* to root@“%“ identified by “.“;MySqlIDE
- ora-01031:insufficient privileges解決方法
- create view receive "ORA-01031: insufficient privileges"View
- Linux oracle ORA-01031: insufficient privilegesLinuxOracle
- 建立資料庫時“Insufficient privileges”的解決方法DK資料庫
- ORA-01031: insufficient privileges的解決方法
- ORA-0131:Insufficient privileges.(DEBUG CONNECT SESSION)Session
- ORA-01031: insufficient privileges錯誤解決方法
- oracle rac dg庫報錯ORA-01031: insufficient privilegesOracle
- linux as 2.1 ORA-01031: insufficient privileges 解決方法Linux
- 【MySQL】Testing mysql connection and privileges..ERROR 1173 (42000)MySqlError
- 在AIX 平臺下遇到ORA-01031: insufficient privilegesAI
- MySQL案例02:ERROR 1221 (HY000): Incorrect usage of DB GRANT and GLOBAL PRIVILEGESMySqlError
- Oracle遠端登入報錯:ora-01031:insufficient privilegesOracle
- SYS遠端連線出錯ORA-01031:Insufficient privileges
- ORA-01031: insufficient privileges重新配置sys登入密碼密碼
- sys使用者遠端登入報ORA-01031 insufficient privileges
- SYS使用者登入Oracle報錯ORA-01031: insufficient privilegesOracle
- sqlplus / as sysdba報錯ORA-01031: insufficient privileges的原因分析SQL
- conn / as sysdba 出現ORA-01031: insufficient privileges 解決辦法
- ORA-01031: 資料庫恢復時的insufficient privileges錯誤QS資料庫
- 儲存過程編譯報錯:PL/SQL:ORA-01031:insufficient privileges儲存過程編譯SQL