Skip to content

ASP.NET and javascript validation

Manuel Joseph

Asked Mar 4, 2012, 11:45 PM EST1 answer
Share
LinkedInX
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.

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Senthilkumar
    0
    Hi,

    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.
    0