Sunday, 19 February 2023

HTTPS vs HTTP


HTTP (Hypertext Transfer Protocol) and HTTPS (Hypertext Transfer Protocol Secure) are both protocols used for communication between web servers and clients (such as web browsers). The main difference between the two is the added layer of security provided by HTTPS.

HTTP is the original protocol used for communication between web servers and clients. It sends data in plain text, which means that anyone with access to the network can potentially read the information being transmitted, including sensitive data such as login credentials, credit card numbers, and personal information.

HTTPS, on the other hand, adds an extra layer of security by encrypting the data being transmitted using an SSL/TLS (Secure Sockets Layer/Transport Layer Security) certificate. This means that any data sent between the server and the client is encrypted and therefore much harder for an attacker to intercept or decipher.

When a website uses HTTPS, it also adds an extra layer of verification to ensure that the website being accessed is the one it claims to be. This is done through the use of digital certificates, which are issued by trusted third-party certificate authorities (CAs) and provide authentication for the website.

In summary, HTTPS is a more secure version of HTTP that adds encryption and verification to protect against eavesdropping and impersonation. It is especially important for websites that handle sensitive information such as login credentials or financial transactions. 



HTTP

HTTPS

Security

Sends data in plain text

Adds encryption to protect data

Protocol

Standard protocol for web browsing

Secure version of HTTP protocol

Port

Port 80

Port 443

Certificate

No digital certificate is required

SSL/TLS certificate is required for encryption

Authentication

No authentication is provided

Provides authentication through SSL/TLS certificate

Use case

Suitable for websites with no sensitive information

Suitable for websites that require secure transmission of sensitive information, such as financial transactions, logins, and personal information


No comments:

Post a Comment

Tips to improve Selenium Code

Intro to Selenium Selenium is an open-source testing framework used for automating web browsers. It allows testers to write scripts in vario...