Why is HTTP still commonly used, instead what I would believe much more secure HTTPS?
|
|
SSL/TLS has a slight overhead. When Google switch Gmail to HTTPS (from an optional feature to the default setting), they found out that CPU overhead was about +1%, and network overhead +2%; see this text for details. However, this is for Gmail, which consists of private, dynamic, non-shared data, and hosted on Google's systems, which are accessible from everywhere with very low latency. The main effects of HTTPS, as compared to HTTP, are:
All of these are reasons why HTTPS is not necessarily a good idea as default protocol for the Web. However, they are not the reason why HTTPS is not, currently, the default protocol for the Web; HTTPS is not the default simply because HTTP was there first. |
|||||||||||||||||
|
|
While there are great answers already given, I believe that one aspect is overlooked so far. Here it is: Plain HTTP is the default protocol for the web because the majority of information on the web doesn't need security. I don't mean to belittle the question, or the security concerns of some web sites/applications. But we can at times forget how much web traffic:
A few quick examples, I'm sure you can quickly make more in your mind:
|
|||||||||
|
|
|||||||||||||||
|
|
Http was always the default. Initially https was not needed for anything, it was pretty much an addition tacked on as it became obvious security was needed in some circumstances. Even now, there are so many web sites which do not need https that it is still not a convincing argument to replace http entirely. With ever more effective mechanisms for running TLS secured connections, the CPU overhead is becoming much less of an issue. |
|||
|
|
|
No one has pointed out a clear problem that arises from using http as default, rather than https. Hardly anyone bothers to write the full uri when requesting a resource that needs to be encrypted and/or signed for various purposes. Take gmail as an example, when users are visiting gmail.com, they are in fact visiting the default protocol of http, rather than https. At this point security has failed in scenarios where the adversary is intercepting the traffic. Why? Because its possible to strip html from https request, and point them to http. If https was in fact the default protocol, your sessions to websites would have been protected. To the question why http is chosen over https, the various answers above applies. The world is just not ready for widespread use of encryption yet. |
|||
|
|