"Learning notes" http and HTTPS

Source: Internet
Author: User

Although HTTP is widely used, it still has flaws:

    • Communication using clear text, within easy to be tapped;
    • Do not verify identity information, identity is easily disguised;
    • Cannot ensure message integrity and may be tampered with.

1. Encryption can prevent eavesdropping:

Communication encryption

The HTTP protocol can encrypt HTTP communication content using a combination of SSL (Secure Socket layer, Secure Sockets layers) or TLS (Transport layer Security, Security Layer Transport Protocol).

HTTP used in combination with SSL is becoming HTTPS

Content encryption

Encrypt the contents of the HTTP message. There is still a risk of tampering because the communication line is not encrypted.

2. Do not verify identity information identity is easily disguised

    • It is not possible to determine whether the Web server that sent the request to the destination is on the server that is returning the response with true intent. It could be a spoofing server.
    • It is not possible to determine whether the client returned by the response is a client that accepts the response in true intent. It is possible that the client has been spoofed.
    • There is no way to determine whether the other person communicating has access rights. Because some Web servers hold important information, only the permissions that you want to communicate to specific users.
    • There is no way to determine where the request came from and by whom.
    • Even meaningless requests are accepted as a single order. Unable to block Dos attacks under massive requests.

Verification information can be used to identify each other by means of a certificate.

3. Unable to ensure message integrity may be tampered with

HTTP does not guarantee that the requested/response and received requests/responses are consistent. This means that when you download a file, the files actually downloaded to your computer may not be the same as the files on the server, because the content is tampered with when the client is unaware. An attack so subjected to interception and tampering is called a man-in-the-middle attack (MITM).

http+ Encryption + certificate authentication + integrity Protection =https

Finish

"Learning notes" http and HTTPS

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.