Difference between HTTP and HTTPS

Prerequisite – Difference between http:// and https://

1. HyperText Transfer Protocol (HTTP) :
HyperText Transfer Protocol (HTTP) is a protocol using which hypertext is transferred over the Web. Due to its simplicity, http has been the most widely used protocol for data transfer over the Web but the data (i.e. hypertext) exchanged using http isn’t as secure as we would like it to be. In fact, hyper-text exchanged using http goes as plain text i.e. anyone between the browser and server can read it relatively easy if one intercepts this exchange of data.

2. Hypertext Transfer Protocol Secure (HTTPS) :
Hypertext Transfer Protocol Secure (HTTPS) is an extension of the Hypertext Transfer Protocol (HTTP). It is used for secure communication. In HTTPS, the communication protocol is encrypted using Transport Layer Security.



Difference between HTTP and HTTPs :



S.No. HTTP HTTPS
1. HTTP stands for HyperText Transfer Protocol. HTTPS for HyperText Transfer Protocol Secure.
2. In HTTP, URL begins with “http://”. In HTTPs, URL starts with “https://”.
3. HTTP uses port number 80 for communication. HTTPs uses 443 port number for communication.
4. HTTP is considered to be unsecure. HTTPs is considered as secure.
5. HTTP works at Application Layer. HTTPS works at Transport Layer.
6. In HTTP, Encryption is absent. Encryption is present in HTTPS.
7. HTTP does not require any certificates. HTTPS needs SSL Certificates.

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.