About Remembering passwords

Source: Internet
Author: User
Login "Remember password" function, now save the user name and password in the cookie, after the private key key encryption

But if the sensitive information on the client's password is not good, although the private key encryption, but also some concerns

You generally remember what the password function is to save in a cookie if you do not save the password by what authentication

Reply content:

Login "Remember password" function, now save the user name and password in the cookie, after the private key key encryption

But if the sensitive information on the client's password is not good, although the private key encryption, but also some concerns

You generally remember what the password function is to save in a cookie if you do not save the password by what authentication

There is a kind of thing called session;)

You this is how old thinking, now is to use the cookie record login status, who also really record password ...

In fact, you do not want to use what the storage with what encryption, all you need is a "Remember password" identity, this logo is not sensitive, so don't worry about cracking problem.

All you need to do is write a logic to determine whether the current IP is equal to the IP that chose to remember the password.

If it's equal, take it directly from the database or log in directly.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.