Results 1 to 4 of 4

Thread: password expiry in asp.net 2.0

  1. #1
    Junior Member
    Join Date
    Jan 2007
    Answers
    2

    password expiry in asp.net 2.0

    Can anyone let me know how we can set the password expiry.
    for ex. i have a database wherein i am maintaining the password of the users.
    i have to set expiry for that passwords like after 90 days password should expire and
    it should promp to reset the new password.

    Please do let me know how this can be done in asp.net 2.0.


  2. #2
    Moderator
    Join Date
    Sep 2006
    Answers
    920

    Re: password expiry in asp.net 2.0

    Quote Originally Posted by greesh View Post
    Can anyone let me know how we can set the password expiry.
    for ex. i have a database wherein i am maintaining the password of the users.
    i have to set expiry for that passwords like after 90 days password should expire and
    it should promp to reset the new password.

    Please do let me know how this can be done in asp.net 2.0.
    I think it can be done through database query.
    We can make run a query which will assign a default encruptted password to all those records which have not been accessed in last 90 days.You can make a stored procedure and can run it on daily basis using triggers.

    Regards,
    Brijesh Jain
    ---------------------------------------------------------
    Connect with me on Skype: jainbrijesh
    Google Plus : jainbrijeshji

  3. #3
    Junior Member
    Join Date
    May 2007
    Answers
    1

    Post Re: password expiry in asp.net 2.0

    U can have a 'datePassword' column in the database table once its Password updated update the datePassword column. Check each time logging in the day difference bt the current and the existing date...

    Hope this would help you ...


  4. #4
    Moderator
    Join Date
    Jun 2007
    Answers
    2,074

    Re: password expiry in asp.net 2.0

    In the database table along with the password store the password update date. Every time u update the password update the update date field. U need to check the same everytime user log in . If it is morethan 75 days send an alert to the user reagarding the passrord expiry and prompt to change . If the user does not responds change the password to some default password after 90 days.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact