关于授权管理。 [英] about authorization management.

查看:40
本文介绍了关于授权管理。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用winform实现授权管理。不同的人会拥有不同的权利。

I want to implement a authorization management with winform. that different people will have different rights .

是否有人有这些经验,或者与我分享一些开源框架。 

Does any one have these experiences, or share me some open source framework. 

非常感谢你许多。 :)

Thank you very much. :)

推荐答案

>> I想用winform实现授权管理。不同的人将拥有不同的权利。

>>I want to implement a authorization management with winform. that different people will have different rights。

为了达到这个目的,您的应用程序应该有一个用户管理系统,这个系统通常会有以下实体在这个系统中。

To achieve this purpose, your application should have a user management system and this system typically you would have the following entities in this system.

1,用户

2,组

3,角色

4,权限/成员资格

这些实体将拥有其主表。和他们的关系表。

These entities would have their master tables. And their relationship tables.

因此对于以上四个实体:

So for the above four entities:

1,用户将被绑定到群组,

2,群组将与角色绑定,b
3,角色将与权限绑定。

1, Users would be tied to Groups,
2, Groups would be tied to Roles,
3, Roles would be tied to Permissions.

基于此结构,您可以构建系统并且可以根据登录用户,可以访问系统中的不同功能和视图。

Based on this structure you can build up your system and can give access to the different features and views in your system depending on the logged on user.

我也找到了一个很好的链接:
C#WinForms用户/权限管理

Also I found a good link for you: C# WinForms User/Permission management.

It指:
Windows窗体应用程序中基于控件的安全性

和视频:
登录权威机构winform

这看起来像是一个非常的骗局回答。希望有所帮助。

This seems like a very decent answer. Hope that helps.

注意:此响应包含对第三方万维网站点的引用。 Microsoft提供此信息是为了方便您。 Microsoft不控制这些网站,也未测试在这些网站上找到的任何软件或信息;因此,
Microsoft不能就其中发现的任何软件或信息的质量,安全性或适用性做出任何陈述。使用互联网上的任何软件都存在固有的危险,微软提醒您在从互联网上检索任何软件之前确保您完全了解风险。

Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

最诚挚的问候,

Stanly


这篇关于关于授权管理。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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