【问题标题】:Fixed VS Flexible roles in DB数据库中的固定 VS 灵活角色
【发布时间】:2013-11-18 11:08:42
【问题描述】:

我正在阅读一篇文章

http://www.codeproject.com/Articles/561797/Top-20-exciting-features-of-SQL-Server-2012-Part-2#Featurenumber9(Revolution):-Powerview

我读到了

Let’s say you have two sets of database user one programmers and the other DBA’s. The programmers should be able to fire insert, update and delete queries while DBA’s should be able to create database, backup and do maintenance related activities. But DBA’s should not be able to fire insert, update and delete queries. 但现在因为您拥有固定角色,DBA 可以获得更多访问权限,因此他们甚至可以触发插入、更新和删除查询In simple words we need flexible roles.

现在我想澄清一下我加粗的线条是什么意思?

【问题讨论】:

    标签: sql sql-server sql-server-2012 database-administration


    【解决方案1】:

    灵活的角色是指用户定义的角色。 如果用户是固定角色的成员,那么它可能拥有超过其允许的资源访问权限。 因此,用户定义的角色(灵活角色)可以帮助我们根据需要限制访问。 例如,用户应该只对特殊表具有插入权限,而不是更多。我们无法使用固定的数据库角色来访问它,因此我们应该创建用户定义的角色。

    【讨论】:

    • 也就是说固定角色没用了?
    • 不,我不是这么说的。仔细阅读。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-10-20
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多