What is HTTP & HTTPS and how does it works

 


Hello and welcome to GitcodeX
In this article you will learn what is HTTP and HTTPS and its uses, Which is the most secure ? and how does it works.
so, let's start..

What is HTTP and HTTPS ?

On google you often search for many websites like yahoo, google, amazon, etc. Many time we use online banking services also, we use credit card and debit cards in some websites also, or we login with our E-mail id.
Did you ever think to be hacked by hacker using this type of sensitive data transfer using internet? Did you ever think that whatever website you are visiting is secured or not ?

So, to have a deep knowledge of these things you should have the knowledge of HTTP and HTTPS. 

What is HTTP (Hyper text transfer protocol) and how does it work :

HTTP is the foundation of data communication for the World Wide Web. 
Hypertext is structured text that uses logical links (hyperlinks) between nodes containing text.
HTTP is a request-response protocol between server and client to transfer data.

here are some features of HTTP

1. HTTP is connection less :

HTTP client i.e. a browser initiates an HTTP request and after a request is made, the client disconnects from the server and waits for a response. The server processes the request and reestablishes the connection with the client.

2. HTTP is media independent :

It means any type of data can be sent by HTTP as long as both the client and the server know how to handle the data content.

3. HTTP is stateless :

HTTP is connectionless and it is a direct result of HTTP being a stateless protocol. The server and client are aware of each other only during a current request. Afterwards, both of them forget about each other. Due to this nature of the protocol neither the client nor the browser can retain information between different requests across the web pages. Each request from same client is treated as new request independently.

  

What is HTTPS ( Hyper text transfer protocol {Secured} ) and how does it work ?


Basically HTTPS is the advanced version of HTTP, As HTTP is having low security. To make our transfers more secure from hackers the HTTPS was developed.
HTTPS stands for Hyper text transfer protocol secured.

In this type of security, Your conversation and data transfer is being encrypted into non-readable file or text.
It uses encryption algorithyms to scramble the data that's being transferred.
For example, If you want to go on a website required you to enter personal information such as creditcard numbers and passwords, you will find the 'S' in the web address. This thing indicates the website you are using is secured.

So, by using secured HTTP all the data which includes anything that you type is no longer sent in clear text, it is scrambled in unreadable form as it travel across the internet. so, if a hacker will try to steal your information, he will get a buntch of meaningless data, because the data is encrypted and the hacker would not be able to crack the encryption to unscramble to the data.
 
Now, secured HTTP protects the data by using one or two protocols and one of that protocol is SSL. 
SSL (secured sockets layer) is the protocol which used to insure the security on the internet.
it uses public key encryption to secure the data.
Basically,this is how SSL works.




So, whether computer connects to a website using SSL, the computer's will ask the website to identify itslef. Then, the server will send the computer a copy of its SSL  certificates. These SSL certificates is a small digital certificates is used to authenticate the identity of a website. it is used to let your computer know that the website you are using is whether trusted or not. then the computer browser will check the certificates and make sure itself and will trust that certificates. Then after you can transfer your data to the server which are encrypted,and you can use that website. 





Thank you for reading ; )

0/Post a Comment/Comments

Previous Post Next Post