Security for encrypted transmission of Web site logins

Source: Internet
Author: User

Just saw two articles, respectively, "QQ website login RSA encryption transmission defect analysis" and "RSA asymmetric encryption of some unconventional applications", I have a few comments on my views.

I have previously written an article "Web site security login Authentication Design" for QQ login using RSA for encrypted transmission, is indeed a low-cost alternative to SSL, because SSL itself requires digital certification authority (CA) intervention, but also need a certain fee, Therefore, it is also an option to encrypt security on "network transport" using RSA encryption for systems with low security.

However, the consequence of not using SSL is a reduction in security, which is equivalent to the site itself being a CA and issuing digital certificates itself. Digital certification authorities (CAs) play a very important role in the Internet security ecosystem because a CA acts as a trusted third party to issue an SSL certificate after verifying the true identity of the requester. Therefore, the CA protects the information security of the end user to some extent, and prevents the possibility that the website "inside Ghost" steals the user's information from it. Therefore, using RSA does not completely replace the role of SSL.

However, if the hacker uses ARP spoofing method to forge the RSA key, I think it is not necessarily able to steal the user's password. Because the user verifies that the password does not upload the client user's password to the server for authentication, it is usually as long as the client user's password has a "Message digest algorithm (Hash function)" Consistent with the server side, so The method of verification can be done as follows: The client encrypts the hash value of the user's password (MD5 or SHA1) using the server-generated public key for RSA encryption, and transmits it to the server side, the server side receives it, uses the private key to solve the puzzle, Decrypt the hash code and the database calculated hash code for comparison, so as to authenticate.

This way, even if the hacker uses ARP spoofing to steal the data that the user transmits, also only steals the user password hash value, is not the user's password plaintext, but from the password hash value reverse pushes the user password to be very difficult, see "The Cryptography Foundation" the article, therefore obtains the data also does not have much use.

In general, to enhance the security strength of QQ login password There are many kinds of methods, the safest way to use similar online banking USB key for logon verification, the security is basically reached a very high level, but the cost of use has reached a high degree.



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.