The difference between HTTPS and HTTP

Source: Internet
Author: User

HTTP is more efficient and HTTPS is more secure.

http: Hypertext Transfer Protocol for passing information between a Web browser and a Web server. The HTTP protocol sends content in plaintext, does not provide data encryption in any way, and if an attacker intercepts a transmission message between a Web browser and a Web server, it can read the information directly, so the HTTP protocol is not suitable for transmitting sensitive information such as credit card numbers, passwords, etc.

HTTPS: Secure Hypertext Transfer Protocol, which is based on SSL, is now widely used for security-sensitive communications on the World Wide Web, such as transaction payments

To address this flaw in the HTTP protocol, you need to use a different protocol: Secure Sockets Layer Hypertext Transfer Protocol HTTPS. For the security of data transmission, HTTPS joins the SSL protocol on the basis of HTTP, SSL relies on the certificate to verify the identity of the server, and encrypts the communication between the browser and the server. The main differences between HTTPS and HTTP are the following four points: first, the HTTPS protocol requires a certificate to the CA, the general free certificate is very small, need to pay. Second, HTTP is a Hypertext Transfer Protocol, the information is plaintext transmission, HTTPS is a secure SSL encryption Transfer protocol. Third, HTTP and HTTPS use a completely different way of connection, with the same port, the former is 80, the latter is 443. Four, HTTP connection is very simple, is stateless; The HTTPS protocol is a network protocol built by the SSL+HTTP protocol to encrypt the transmission and authentication, which is more secure than the HTTP protocol. SSL is a security-confidentiality protocol presented by Netscape companies in browsers such as Internet Explorer, Netscape Navigator, and Web servers such as Netscape Enterprise server for Netscape, ColdFusion server and so on) to construct a secure channel for data transmission, SSL runs above the TCP/IP layer, under the application layer, to provide encrypted data channel for the application, it uses encryption algorithms such as RC4, MD5, and RSA, using 40-bit keys, For encryption of business information.

The difference between HTTPS and HTTP

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.