This section analyzes the security issues that exist in the currently used HTTP protocol and uses the HTTPS protocol to circumvent these potential pitfalls
1, the disadvantage of HTTP
1.1, because HTTP does not have encryption function, so on the communication link, the message is in clear text in the way of forwarding and processing. So it's very easy to be stolen.
Solution: 1, encrypt the entity body content information, 2, encrypt the communication (and use the SSL protocol together)
1.2, the HTTP protocol can not confirm the identity of the two sides, so it is easy to cause communication camouflage
Solution: 1. Collaboration with authentication-enabled protocols (e.g., SSL)
1.3, can not prove the integrity of the message, can not confirm whether the message has been tampered with
2, HTTPS to ensure the security of the Web
HTTPS is an HTTP protocol with an encryption mechanism that confirms the identity of both sides of the communication and guarantees the integrity of the message
2.1, HTTPS protocol is not the application layer of a new Protocol; only the HTTP protocol is replaced with SSL and TSL protocols on the communication interface.
(The difference between HTTP and HTTPS)
2.2. Encrypt the body of the message entity with shared secret key encryption and public secret key encryption
2.3, the use of third-party authoritative institutions to provide digital certificates to ensure the accuracy of the public secret key
I have limited ability. If there is a mistake, look treatise
2017-10-26
In Changsha
Read "Schematic http"-(Secure Web-safe HTTPS)