ASP.NET - Difference between https and http

Asked By R132 G132 on 05-Aug-10 03:54 AM
Difference between https and http
Christof S. replied to R132 G132 on 05-Aug-10 04:03 AM
...
here, just for you:
http://lmgtfy.com/?q=differences https http

regards

Reena Jain replied to R132 G132 on 05-Aug-10 04:07 AM
Hi,

HTTP stands for HyperText Transport Protocol, which is just a fancy way of saying it's a protocol (a language, in a manner of speaking) for information to be passed back and forth between web servers and clients.

You really don't need to know what it all stands for; the important thing is the letter S which makes the difference between HTTP and HTTPS. The S (big surprise) stands for "Secure". You probably didn't need me to tell you that, because you already knew it had something to do with security.

If you visit a website or webpage, and look at the address in the web browser, it will likely begin with the following: http://. This means that the website is talking to your browser using the regular 'unsecure' language. In other words, it is possible for someone to "eavesdrop" on your computer's conversation with the website. If you fill out a form on the website, someone might see the information you send to that site
This is why you never ever ever enter your credit card number in an http website!

But if the web address begins with https://, that basically means your computer is talking to the website in a secure code that no one can eavesdrop on.

You understand why this is so important, right? If a website ever asks you to enter your credit card information, you should automatically look to see if the web address begins with https://. If it doesn't, there's no way you're going to enter sensitive information like a credit card number!

Sandra Jain replied to R132 G132 on 05-Aug-10 04:50 AM
Here is the difference:

HTTP is Hyper Text Transport Protocol and is transmitted over the wire via PORT 80(TCP). You normally use HTTP when you are browsing the web, its not secure, so someone can eavesdrop on the conversation between your computer and the web server.

HTTPS (Hypertext Transfer Protocol over Secure Socket Layer, or HTTP over SSL) is a Web protocol developed by Netscape and built into its browser that encrypts and decrypts user page requests as well as the pages that are returned by the Web server. HTTPS is really just the use of Netscape's Secure Socket Layer (SSL) as a sublayer under its regular HTTP application layering. (HTTPS uses port 443 instead of HTTP port 80 in its interactions with the lower layer, TCP/IP.) SSL uses a 40-bit key size for the RC4 stream encryption algorithm,new-age browsers use 128-bit key size which is more secure than the former, it is considered an adequate degree of encryption for commercial exchange.HTTPS is normally used in login pages, shopping/commercial sites.
Chirag Bhavsar replied to R132 G132 on 05-Aug-10 05:28 AM
The "S" in HTTPS indicates a secure site. If you visit a web site or web page, and look at the address in the web browser, it will likely begin with the following: http://. This means that the web site is talking to your browser using the regular 'unsecured' language. In other If you fill out a form on the web site, someone might see the information you send to that site. This is why you never ever enter your credit card number in an http web site! But if the web address begins with https://, your computer is talking to the web site in a secure code that no one can eavesdrop on.
If a web site ever asks you to enter your credit card information, you should look to see if the web address begins with https://. If it doesn't, there's no way you're going to enter sensitive information like a credit card number!

http://www.wisegeek.com/what-is-hypertext.htm Transfer Protocol (http) is a system for transmitting and receiving information across the Internet. Http serves as a request and response procedure that all agents on the Internet follow so that information can be rapidly, easily, and accurately disseminated between servers, which hold information, and clients, who are trying to access it. Http is commonly used to access http://www.wisegeek.com/what-is-html.htm pages, but other resources can be utilized as well through http. In many cases, clients may be exchanging confidential information with a server, which needs to be secured in order to prevent unauthorized access. For this reason, https, or secure http, was developed by Netscape http://www.wisegeek.com/what-is-a-corporation.htm to allow authorization and http://www.wisegeek.com/what-are-secured-transactions.htm.

In many ways, https is identical to http, because it follows the same basic protocols. The http or https client, such as a http://www.wisegeek.com/what-is-a-web-browser.htm, establishes a connection to a server on a standard port. When a server receives a request, it returns a status and a message, which may contain the requested information or indicate an error if part of the process malfunctioned. Both systems use the same Uniform Resource Identifier (URI) scheme, so that resources can be universally identified. Use of https in a URI scheme rather than http indicates that an http://www.wisegeek.com/what-is-encryption.htm connection is desired.

There are some primary differences between http and https, however, beginning with the default port, which is 80 for http and 443 for https. Https works by transmitting normal http interactions through an encrypted system, so that in http://www.wisegeek.com/what-is-a-theory.htm, the information cannot be accessed by any party other than the client and end server. There are two common types of http://www.wisegeek.com/what-is-encryption.htm layers: Transport Layer Security (http://www.wisegeek.com/what-is-tls.htm) and Secure Sockets Layer (SSL), both of which encode the data records being exchanged.

When using an https connection, the server responds to the initial connection by offering a list of encryption methods it supports. In response, the client selects a connection method, and the client and server exchange certificates to authenticate their identities. After this is done, both parties exchange the encrypted information after ensuring that both are using the same key, and the connection is closed. In order to host https connections, a server must have a public key certificate, which embeds key information with a verification of the key owner's identity. Most certificates are verified by a third party so that clients are assured that the key is secure.

Https is used in many situations, such as log-in pages for banking, forms, corporate log ons, and other applications in which data needs to be secure. However, if not implemented properly, https is not infallible, and therefore it is extremely important for end users to be wary about accepting questionable certificates and cautious with their personal information while using the Internet.