Visualizar permisos y privilegios en ORACLE
Consideraciones al momento de crear un usuario o cuenta en Oracle, y los privilegios y roles que le podemos asignar.
- El nombre de usuario no debe superar 30 caracteres.
- Un método de autentificación. El mas común es una clave o password, pero Oracle 10g soporta otros métodos (como biometric, certificado y autentificación por medio de token).
- Un Tablespace default, el cual es donde el usuario va a poder crear sus objetos por defecto, sin embargo, esto no significa que pueda crear objetos, o que tenga una cuota de espacio. Estos permisos se asignan de forma separada, salvo si utiliza el privilegio RESOURCE el que asigna una quota unlimited, incluso en el Tablespace SYSTEM! Sin embargo si esto ocurre, ud. puede posteriormente mover los objetos creados en el SYSTEM a otro Tablespace.
- Un Tablespace temporal, donde el usuario crea sus objetos temporales y hace los sort u ordenamientos.
- Un perfil o profile de usuario, que son las restricciones que puede tener su cuenta.
Permisos de Objetos:
select grantor "Grantor",
grantee "Grantee",
table_name "Table_Name",
privilege "Privilege",
initcap(grantable) "Grantable"
from sys.all_tab_privs
where grantor = user
or grantee = user
order by grantor, grantee, table_name
Privilegios de Columnas:
select grantor "Grantor",
grantee "Grantee",
table_name "Table_Name",
column_name "Column_Name",
privilege "Privilege",
initcap(grantable) "Grantable"
from sys.all_col_privs
where grantor = user
or grantee = user
order by grantor, grantee, table_name, column_name
Privilegios de Rol:
select username "User",
granted_role "Granted_Role",
initcap(admin_option) "Admin_Option",
initcap(default_role) "Default_Role"
from user_role_privs
order by username, granted_role
Privilegios del sistema:
select privilege "Privilege",
initcap(admin_option) "Admin_Option"
from user_sys_privs
order by privilege
Play casino - No.1 for the Casino Guru
ResponderEliminarNo longer have the opportunity to go to the casinos or read the reviews of sol.edu.kg the slots septcasino you love. communitykhabar But they're not always the same. kadangpintar Sometimes you have a 바카라 new online