基于角色的访问控制(RBAC) - .NET组件 [英] Role Based Access Control (RBAC) - .Net Component

查看:190
本文介绍了基于角色的访问控制(RBAC) - .NET组件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的工作,我们正在努力巩固应用农场Windows标识基金会(WIF)的总部设在成员资格提供身份验证或某些自定义组件。

In my job we are trying to consolidate the Authentication of the application farm with Windows Identity Fundation (WIF) or some custom component based in Membership Provider.

通过这一点,我们需要提供开发商(和最终用户)的一些组件,可以通过角色帮助我们的意见同治逻辑(RBAC - 基于角色的访问控制)。我无法找到任何东西。

With this, we need to provide the developers (and final users) some component that can help us with the logic of managment views by Role (RBAC - Role Based Access Control). I couldn't find anything.

这就是理念:用户管理员可以查看家庭和管理页面。嗯,就像一个开发者,我不想写code做这个分析。要做到这一点,我期待着与一个组成部分,它封装了这种复杂性的工作。同样的想法来管理事件,或行动应用程序

That's the idea: A user 'admin' can view 'Home' and 'Administration' pages. Well, like a developer, i don't want to write code to do this profiling. To do this, i expect to work with a component, that encapsulates this complexity. The same idea to manage events, or actions in the application

你知不知道这样的事情?像角色提供的东西,但像通用组件,可以帮助我(像Moodle的,或Joomla的分析)。

Do you know something like that? Something like Role Provider, but like a generic component, that can help me ( like the profiling in Moodle, or Joomla).

只是为了记录在案,英语不是我的成田语言,我还在学习它。

Just for the record, english isn't my navite language, and i'm still learning it.

推荐答案

我写我自己的组件正是这种问题。您可以界面到Windows目录等,但在过去,我不想通过Windows AD管理应用程序的用户,所以我写我自己的角色和权限基于子系统我的应用程序。

I wrote my own component for exactly this problem. You can interface to Windows directories and such, but in the past I did not want to manage an application's users through Windows AD, so I write my own role and privilege based subsystem for my applications.

这不是许多工作要做,对我来说这是非常值得的,因为我把它付诸表决正是我需要的,并没有更多的。

It is not much work to do, and for me it was very worth it because I put into it exactly what I needed and no more.

这篇关于基于角色的访问控制(RBAC) - .NET组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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