DEV Community

Cover image for HTTP VS HTTPS ???
 Vivek Malla
Vivek Malla

Posted on

HTTP VS HTTPS ???

Hello Techies...
Today we are going to discuss about a very interesting topic, that is HTTP vs HTTPS
We all are living in the tech world. We all are aware of URL's But did you observe that some of the URL's starts with HTTPS and few starts with HTTP Now we are going to discuss the difference between them

A website that uses HTTP has http:// in its URL, while a website that uses HTTPS has https://.

HTTP ( Hypertext Transfer Protocol )
HTTP is a protocol it's a prescribed order and syntax for presenting information and it is used for transferring data over a network. Most information that is sent over the Internet, including website content and API calls, uses the HTTP protocol.

IS HTTP SECURE ?
Many of us have a doubt that Is accessing HTTP linked website safe? Now I am going to clear your doubts
If you are just browsing the web, looking at YouTube and watching movies, TV shows , HTTP is fine. However, if you’re logging into your bank or entering credit card information in a payment page, it’s imperative that URL is HTTPS. Otherwise, your sensitive data is at risk.

HTTPS ( Hypertext Transfer Protocol Secure )
HTTPS full form itself tells us that its a secure prototype. The S in HTTPS stands for "secure." HTTPS uses TLS (or SSL) to encrypt HTTP requests and responses

IS HTTPS SECURE ?
Yes, It's for sure.
If you still have doubt in it.
I'll show you an example

If a hacker is attacking a website and if it is a HTTP website He could access the data some thing like this

HTTP/1.1 200 OK
Date: Wed, 30 Jan 2019 12:14:39 GMT
Server: Apache
Last-Modified: Mon, 28 Jan 2019 11:17:01 GMT
Accept-Ranges: bytes
Content-Length: 12
Vary: Accept-Encoding
Content-Type: text/plain

Hello World!

If a hacker is attacking a website and if it is a HTTPS website He could access the data some thing like this

t8Fw6T8UV81pQfyhDkhebbz7+oiwldr1j2gHBB3L3RFTRsQCpaSnSBZ78Vme+DpDVJPvZdZUZHpzbbcqmSW1+3xXGsERHg9YDmpYk0VVDiRvw1H5miNieJeJ/FNUjgH0BmVRWII6+T4MnDwmCMZUI/orxP3HGwYCSIvyzS3MpmmSe4iaWKCOHQ==

Did you observe the difference?????

Suggestion : Better to use a website containing a URL with HTTPS

                                             -Vivek Malla
Enter fullscreen mode Exit fullscreen mode

Top comments (0)