Dear guys,
I want to know how to password history from database and check in asp.net
check following critriea.
1) Password history should be set to 5 or more
2) Password should be case-sensitive.
3) Enforce password expiry including Minimum age and maximum age (min. age 1 & max. age 30 days) This can be changed on run-time.
ASP.NET and javascript validation
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
SenthilkumarRank #387 · 6.5K pointsPosted Mar 8, 2012, 8:54 PM EST
This case i think you will be having all these details in the database.
or you need to store some where to track all these things.
The password history, last updated password data has to be loaded or querying from the database to validate against in the login form.
The client side validation may be not suitable here. Because you shouldn't keep in the browser side for security reasons.
Write the server side event to validate against database.