认证模块 [英] Authentication Module

查看:85
本文介绍了认证模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我想获得有关为桌面应用程序开发的身份验证模块的建议.该应用程序是在dot net 2.0中开发的,并且在数据库中具有用户和密码信息.我们想要实现一个小型框架,以便在登录期间我们可以检查以下内容:

1.密码是否已过期.
2.用户是否用尽了密码重试尝试.
3.用户是否已经从其他位置登录.


我们还需要确保在更改密码期间,密码符合客户密码复杂性政策.

上述政策可能因客户而异.客户可能希望包括排除策略以及更改可用策略的参数,例如密码有效期限,重试次数等.

我们希望开发该框架,以便可以将上述更改并入而无需太多更改代码.

请提出可能有用的框架或任何文章.

谢谢

Hi,
I want to get an advice regarding authentication module to be developed for a desktop application. The application is developed in dot net 2.0 and has user and password information in database. We want to implement a mini framework so that during login we can check for some things like:

1. Has the password expired.
2. Has the user exhausted his password retry attempts.
3. Is the user already logged in from some different location.
etc.

We also need to ensure that during password change passwords comply with the customer password complexity policy.

The above mentioned policies may change from customer to customer. Customers may want to include exclude policies as well as change parameters for the available policies like password expiry period, number of retry attempts etc.

We want to develop the framework so that above mentioned changes can be incorporated without changing the code much.

Please suggest a framework or any article which might help.

Thanks

推荐答案

^ ]

该文件位于System.Web DLL中,但是您可以从Winforms应用程序中使用它,例如

http://devpinoy.org/blogs/comgen/存档/2007/08/15/use-membership-api-in-winforms.aspx [
Everything you have mentioned is covered by the Membership API[^]

This is in the System.Web DLL but you can use this from a Winforms application, e.g.

http://devpinoy.org/blogs/comgen/archive/2007/08/15/use-membership-api-in-winforms.aspx[^]


这篇关于认证模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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