SSAS行级权限

0
您好 biwork 非常希望您能帮助我解答一个问题 我是上海一家BI公司 从事msbi数据仓库开发者,可以请教您一个问题么?
我想在SSAS中进行行级权限的控制,就目前来说,在域环境中,我们可以采用多种方案来进行行级权限的控制,比如定义角色和用户,对维度进行限制,或者采取视图。
我们想实现一种目标,那就是在外网环境中(主要是移动端),来对SSAS进行访问,这样的话,我们该怎么样进行行级权限的控制。
因为在外网环境中,我们进行登录查看数据,怎样让ssas服务器来识别用户的身份。
还请您帮助解答一下这个问题。谢谢。
已邀请:
1

BIWORK - 热衷于微软BI技术,技术架构和解决方案! 2015-03-05 回答

这个我没有做过,但我查了下你可以尝试一下下面的内容:
关于 HTTP访问的你可以参考一下这两篇文章:
http://www.flybi.net/article/64
https://technet.microsoft.com/ ... .aspx

关于如何获取角色,这个好像没有特别好的方法,这里有一个帖子是这么来解决的,我给你大致翻译一下。
http://stackoverflow.com/quest ... abase

The eventual solution ended up being a combination of a Third Party Control and Dynamic Dimension Security.
最终的解决方案是同时采用第三方控制和动态维度安全来实现。

We found that it's not possible to easily apply a MembershipProvider interface to the MSMDPUMP interface without significant effort, so our solution gave them a Web Interface to use instead.
想完全实现一个用户关系匹配提供接口真的是一件超难搞的事情,所以我们的方案使用一个 WEB 接口。

The Control we used was by DevExpress and is their "PivotGrid" control. It's not free, but is significantly less than the development resource costs of implementing any other custom solution.
使用了 DevExpress 和它们的 PivotGrid 控制,虽然不是免费的但是节省了很多精力。

Along with the control, we've applied Dynamic Dimension Security to the Cube so each user of the Site will have a dedicated connectionString to the cube with "CustomData" appended to the connectionstring. This allows us to delegate Data Segregation tasks to the Cube and BI team, and let the Web Developers concentrate on the display of the controls.
网站有一个指定的连接字符串来访问 Cube 和自定义的数据,不同的字符串连接访问的是不同的 Cube 可以这么来理解。

The solution is working quite well, and doesn't involve heavy weight applications like Sharepoint/Excel Services. It can built directly into your site and branded as you need, providing a sales tool as well as a useful functional tool.
END。。。

我理解它的处理方式是在用户登录的时候判断用户组,然后分配不同的连接字符串去访问 CUBE, 不同的权限访问不同的 CUBE 数据,所以分配不同的连接访问字符串是关键。

我觉得你可以从这个角度去考虑一下。

如果有更好的方式希望大家补充,或者LZ找到了解决方案也请分享一下。
0

songhuqingcs - wwwrr404 2015-03-05 回答

还有一个问题就是说,我们通过一个app的登录账户,怎么通过一个中间层来获取服务器对应的角色,能打通这个环节就好了
0

songhuqingcs - wwwrr404 2015-03-05 回答

好的 非常感谢
0

天善 梁勇 2015-03-14 回答

学习了,感谢分享

要回复问题请先登录注册