验证用户在Windows应用程序中登录的最佳方法是什么? [英] What is the best way to validate users login in Windows Application?
问题描述
嗨
首先,我是新手,我正在研究由WPF框架制作的应用程序。
现在我正在寻找一些东西来验证用户登录和检查用户根据用户权限启用/禁用应用程序功能的权限。
换句话说,我需要检查用户权限并启用/禁用按钮。
,我的应用程序应具有基于应用程序功能管理用户的功能。
所以我可以在我自己的场景中工作(使所有用户管理方法如Makeuser(),MakeRole(),. ..),但我非常确定有一个工具可以实现它。
哦,希望它清楚地说明我的英语不好。
请帮帮我它确实浪费了我的时间并停止了开发。
Hi
First of all , i'm newbie and I working on an Application which made by WPF framework.
Now i looking for some thing to validate users log-in and check the user's rights to enable/disable features of the application base on the user rights.
In other word i need to check the user rights and enable/disable Buttons for example.
and my application should has a feature to manage users right base on application's features.
so i can work on my own scenario(make all of users managements methods like Makeuser(),MakeRole(),...),but i'm strongly sure that there is a tool to implement that.
oh,hope it clear cause of my poor english .
Please help me on that it's really wasted my time and stopped the developing.
推荐答案
参考:
1. 基于角色的安全性 [ ^ ]
2。 基于角色的安全性简介在.NET [ ^ ]
Refer:
1. Role-Based Security[^]
2. Introduction to Role-Based Security in .NET[^]
WPF中的示例;)
http://wpfmembershipadmin.codeplex.com/ [ ^ ]
An example in WPF ;)
http://wpfmembershipadmin.codeplex.com/[^]
这篇关于验证用户在Windows应用程序中登录的最佳方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!