用户只能访问一个数据库视图。 [英] User can acess only one view for database.

查看:91
本文介绍了用户只能访问一个数据库视图。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

。数据库是''TEST''。有视图是view1,view2,view3。

有用户名字dinesh。

Dinesh可以acess only view1。

他不应该在桌子上进行。

.There is database is ''TEST''.There are view which are view1,view2,view3.
There is user having name dinesh.
Dinesh could acess only view1.
He should not acess on tables .

推荐答案

是的,没有。可以实现但不像你期望的那样简单。

首先阅读这些文章:

http://www.sommarskog.se/grantperm.html#dbchainging [ ^ ]

http:/ /msdn.microsoft.com/en-us/library/ms188676.aspx [ ^ ]
Yes, and no. Can be achieved but not as simple as you expect.
Read these articles first:
http://www.sommarskog.se/grantperm.html#dbchainging[^]
http://msdn.microsoft.com/en-us/library/ms188676.aspx[^]


这篇关于用户只能访问一个数据库视图。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆