Click here to Skip to main content
15,949,741 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted

1 solution

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[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900