
ORACLE如何设置只能访问某几张表权限的用户?
不知道能不能设置一个用户只能访问数据库中的指定的某几张表因为安全原因其他表的数据这个用户不能访问ORACLE能不能设置...
不知道能不能设置一个用户 只能访问数据库中的指定的某几张表 因为安全原因其他表的数据这个用户不能访问 ORACLE能不能设置
展开
1个回答
展开全部
首先那几张表不属于这个用户user1。
然后登录那几张表所在的用户user2(或管理员),
conn
user2/password
grant
select
on
table1
to
user1;
grant
select
on
table2
to
user1;
so
easy~
然后登录那几张表所在的用户user2(或管理员),
conn
user2/password
grant
select
on
table1
to
user1;
grant
select
on
table2
to
user1;
so
easy~
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询