Oracle系列:(21)访问其他用户下的对象[授权]
发表于:2024-10-05 作者:千家信息网编辑
千家信息网最后更新 2024年10月05日,声明:scott或hr叫用户名/方案名/空间名scott--tigerhr-----lion查询当前用户是谁show user;查询scott自己表空间下的所有对象时,可加,或不加用户名select
千家信息网最后更新 2024年10月05日Oracle系列:(21)访问其他用户下的对象[授权]
声明:scott或hr叫用户名/方案名/空间名
scott--tiger
hr-----lion
查询当前用户是谁
show user;
查询scott自己表空间下的所有对象时,可加,或不加用户名select * from emp;
select * from emp;
或
select * from scott.emp;
以sysdba身份解锁hr普通帐户
alter user hr account unlock;
以sysdba身份设置hr普通帐户的密码
alter user hr identified by lion;
当scott查询hr表空间下的所有表时,必须得加用户名
select * from hr.jobs;
在默认情况下,每个用户只能查询自已空间下的对象的权限,不能查询其它用户空间下的对象
以sysdba身份角色,授予scott用户查询所有用户空间下的对象权限
grant select any table to scott;
以sysdba身份,撤销scott用户查询所有用户空间下的对象权限
revoke select any table from scott;
scott自已查看自己所拥有的权限
select * from user_sys_privs;
从scott用户空间导航到sysdba用户空间
conn / as sysdba;
从sysdba用户空间导航到scott用户空间
conn scott/tiger;
从scott用户空间导航到hr用户空间
conn hr/lion;
查询hr用户空间中的所有对象
select * from tab;
从hr用户空间导航到scott用户空间
conn scott/tiger;
在scott用户空间下,查询hr用户空间下的jobs表,必须加上hr用户空间名
select * from hr.jobs;
用户
空间
查询
对象
权限
身份
导航
用户名
普通
帐户
密码
情况
方案
角色
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
压铸零件加工管理软件开发
鹤岗育民教师数据库
新的根服务器
ui和数据库如何连接
宝塔装的数据库怎么远程访问
应用网络技术教学的重要性
软件开发中的接口
新一代软件开发设施创意
学校网络安全课》活动总结
宅基地设计软件开发
mysql服务器与管理工具
福建软件开发的费用
深圳python软件开发价位
华为通信协议软件开发
嘉兴运行智慧园区软件开发
网络安全哪个国家好玩
网络安全应急管理岗
商用服务器一般用多少
sonysteam服务器
网络安全大赛实战演练
现在学软件开发工资怎么样
山东长海网络技术有限公司
网络安全保障体系包括哪些
原神应该选哪个服务器
战地5怎么找到上次的服务器
炫舞时代无法连接服务器
州航互联网科技公司
宿迁电信5g杯网络安全竞赛
蒙娜丽莎拼图软件开发
数据库复制图表