📜  HTTP和HTTPS之间的区别

📅  最后修改于: 2021-08-25 10:07:25             🧑  作者: Mango

先决条件– http://和https://之间的区别

1.超文本传输协议(HTTP):
超文本传输协议(HTTP)是一种协议,通过该协议可以在Web上传输超文本。由于其简单性,http是通过Web进行数据传输的最广泛使用的协议,但是使用http交换的数据(即超文本)并不像我们希望的那样安全。实际上,使用http交换的超文本就像纯文本一样,也就是说,如果浏览器和服务器之间的任何人都截获了这种数据交换,则任何人都可以相对容易地读取它。

2.安全的超文本传输协议(HTTPS):
安全超文本传输协议(HTTPS)是超文本传输协议(HTTP)的扩展。用于安全通信。在HTTPS中,使用传输层安全性对通信协议进行加密。

HTTP和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.