1) alguém sabe me dizer o que o comando a baixo permite um usuário fazer?
GRANT ANY OBJECT PRIVILEGE
GRANT ANY OBJECT
GRANT ANY OBJECT
para GRANT ANY OBJECT PRIVILEGE
e gostaria de saber se isso pode me trazer algum problema.Muito obrigado
GRANT ANY OBJECT PRIVILEGE
GRANT ANY OBJECT
GRANT ANY OBJECT
para GRANT ANY OBJECT PRIVILEGE
e gostaria de saber se isso pode me trazer algum problema.Pelo que eu posso entender, quando um usuário dispõe do privilégio "GRANT ANY OBJECT" ele pode atribuir permissões de acesso a objetos (que não pertencem à ele) para qualquer schema ou role.Who Can Grant Schema Object Privileges?
A user automatically has all object privileges for schema objects contained in his or her schema. A user can grant any object privilege on any schema object he or she owns to any other user or role. A user with the GRANT ANY OBJECT PRIVILEGE can grant or revoke any specified object privilege to another user with or without the GRANT OPTION of the GRANT statement. Otherwise, the grantee can use the privilege, but cannot grant it to other users.
For example, assume user SCOTT has a table named t2:
SQL>GRANT grant any object privilege TO U1; SQL> connect u1/u1 Connected. SQL> GRANT select on scott.t2 \TO U2; SQL> SELECT GRANTEE, OWNER, GRANTOR, PRIVILEGE, GRANTABLE FROM DBA_TAB_PRIVS WHERE TABLE_NAME = 'employees'; GRANTEE OWNER ------------------------------ ------------------------------ GRANTOR PRIVILEGE GRA ------------------------------ ---------------------------------------- --- U2 SCOTT SCOTT SELECT NO
GRANT ANY OBJECT
, o usuário SCOTT não precisou fazer um GRANT SELECT ON SCOTT.T2 TO U1 WITH GRANT OPTION
.Usuários navegando neste fórum: Google [Bot] e 1 visitante