HTTPS is more secure, so why isn't the Web using it?

"The real problem, according to Lafon, is that with HTTPS you lose the ability to cache."

I think caching is overrated and the downsides of caching are why I clean my browser every time I close out.

"Another problem with running an HTTPS site is the cost of operations."

PEOPLE have to ask what your privacy is worth.
 
Upvote
0 (0 / 0)

Sparrow

Wise, Aged Ars Veteran
169
The technical hurdles (more processing time, slightly slower, even caching) may eventually be rectified with Moore's law or clever engineering or both. However, the cost of operations (the cost of obtaining a SSL certificate from a widely trusted CA) isn't going down. I can always self-sign my own cert for my own use, but for the vast majority of websites out there NOT handling money (say your own blog for example), it's not worth it.
 
Upvote
0 (0 / 0)

logicalextreme

Smack-Fu Master, in training
73
Yeah, I'm not generally bothered by the lack of SSL unless I'm on a payment page. I notify the company about my concerns whether I decide to go ahead with a non-SSL payment or not.

I rarely see SSL on contact forms in which I'm putting any personal details, however. It's great to see it when it's implemented, but I dislike the idea of, say, certain contact details being transmitted plainly.

I can definitely understand that the price of a wildcard SSL certificate is prohibitively high for some companies.
 
Upvote
0 (0 / 0)

gwk

Seniorius Lurkius
16
The high costs of certificates and dns poisoning/MITM attacks do you always double check that the cert you received and is "verified" is the one you should be getting and not signed by some different CA? there are after a lot of them, but these are just symptoms of the problem. The real problem is that the protocol confuses security of the underlying transport with the authenticity of the remote server, both are real problems but trying to solve them with the same system was a mistake, you shouldn't need blessed bits simply to encrypt a connection (with self signed certificates you don't but people have been trained that it is an "insecure" connection which is a bit silly) and secondly we collectively are putting a lot more trust in the CA's then we really should. The PKI infrastructure of trusted third parties is busted the protocol should have tied the verification of a sites authenticity to the DNS infrastructure as opposed to the dubious idea of a trusted third party.
 
Upvote
0 (0 / 0)

The_Barbarian

Ars Scholae Palatinae
893
<blockquote>Every time you log in to Twitter, Facebook or any other service that uses a plain HTTP connection that's essentially what you're doing.</blockquote>

Are you sure about that? I always understood that it was an accepted practice (silly in my opinion, but accepted) to just encrypt the username/password being sent to the server. So the login page doesn't appear encrypted, and of course the subsequent pages are not, but the most important bits are (well, except cookies, which is where firesheep comes in).
 
Upvote
0 (0 / 0)

ShadowNode

Ars Scholae Palatinae
745
The real issue is that we have certificate infrastructure that assumes everyone is a bank.

You need to know that yourbank.com is, actually, Your Bank.

You do not need to know that puppehsandkittehs.com is run by Florence McSwooney of 123 Elm Street. You just need to know that it's puppehsandkittehs.com, not someone running a man in the middle attack.

There is absolutely no reason the cost of a certificate to the latter should not be $0.
 
Upvote
0 (0 / 0)
I do have a few things to add:
1. SSL certificates actually are free (every major browser supports it on the desktop, maybe not on some old mobiles): https://www.startssl.com/

2. the caching problem only exists for old browsers, IE6 (less than 4.6% marketshare) and maybe IE7. Webdevelopers just need to sent the right Cache-Control headers and all other browsers cache what they are supposed to.

3. the virtual hosting problem only exists for any version of IE and Safari on Windows XP. Now I don't know how large a marketshare IE has on Windows XP, but Windows XP still has a marketshare of a little over 50% of all windows installations.

4. Google put a lot of work in getting the latency of https-experience down by creating a prototype of their SPDY protocol which solves the latency problem and actually can be faster than normal HTTP. Because it uses less connections. Also they have done suggestions for HTTPS 'false-start' which also reduce the problem. If you use Chrome and connect to gmail it will probably automatically use the SPDY extension it actually is their 'production test-setup'.

5. for normal pages HTTPS on the server CPU-/memory-wise isn't a big deal, but for sites with lots of (possibly large) images/css/js/downloads files it could be an issue. Or video like Youtube ofcourse.
 
Upvote
1 (1 / 0)

Rich C.

Ars Praetorian
520
Subscriptor++
As a web developer myself, I wish I could use SSL more than I currently do. I use it when I can, but as it's handled right now there are a couple of problems with it:

1. It costs more to get a valid certificate, since you have to pay a certificate authority by the year to sign your cert. Some hosts let you use anonymous certificates, but web browsers will (rightfully) complain up the ass every time one of their users connects with it.

I personally wish you could post your own cert-signing public key through the DNS system, then start signing your own certificates for only the cost of your domain name service. That may be vulnerable to DNS poisoning and not be quite as secure as getting NetApplications or Verisign to endorse your certificate, but it's far better than an unencrypted free-for-all.

2. The way low-end web hosts (the sort costing less than $30 or so per month) handle SSL is ass backwards. They reroute SSL connections through their own domain name, so your customers suddenly see the URL change to some hosting provider when they go to enter their credit card info. Clearly not a good thing. Plus, most make web devs store two versions of their site files, one for http and one for https. Syncing both with a content management system is a pain.
 
Upvote
0 (0 / 0)

naphini

Ars Praefectus
3,904
Subscriptor
Sparrow":2jqqxslv said:
The technical hurdles (more processing time, slightly slower, even caching) may eventually be rectified with Moore's law or clever engineering or both. However, the cost of operations (the cost of obtaining a SSL certificate from a widely trusted CA) isn't going down. I can always self-sign my own cert for my own use, but for the vast majority of websites out there NOT handling money (say your own blog for example), it's not worth it.
At least for boutique or personal websites, there are ways around that. I host my band's website on Yahoo small business hosting, for example, and when I decided to write a simple back end that my html-illiterate band members could log in to and edit our upcoming shows or what have you, I wanted to transmit the password over a secure connection. I discovered that with my hosting package, all I have to do is put that part of the site in a certain sub-directory and Yahoo moves everything in that directory to a different domain for which they have a security certificate, which the browser connects to with a secure connection. Very simple for me, and I don't have to muck about getting my own certificate, or even write any code. I don't know how other web hosting services handle it, but it seems like a pretty decent solution for personal or smallish business type sites.


EDIT: I see Rich C. beat me to it. I agree that the user suddenly seeing a different domain is a bit kludgy (and should probably actually freak them out, if they're at all security conscious), but it's better than nothing.
 
Upvote
0 (0 / 0)

Rich C.

Ars Praetorian
520
Subscriptor++
Sinclaw":3m9zab2r said:
" I always understood that it was an accepted practice (silly in my opinion, but accepted) to just encrypt the username/password being sent to the server."

If it's under HTTP, then it's not encrypted.

The_Barbarian is probably talking about sites that encrypt the login page itself then revert to an unencrypted connection for the rest. By then you've been assigned a random session ID and no password is being sent.

(Also sites that use HTTP Authentication can take advantage of encrypted passwords over regular HTTP, though almost nobody does. It's not as user-friendly as old fashioned HTML login forms.)
 
Upvote
0 (0 / 0)
Would it be a huge deal to just write a new internet protocol to replace HTTP? Maybe one that allows cache, but encrypts the cache files. Or perhaps one that allows constant connection between user and server (like FTP) instead of relying on external plugins like flash or java?

After all, HTTP is 10-20 years old. Thats a long lifetime for something in the information technology category. Dont get me wrong, Id be the last one to volunteer to design a new protocol. But, I think that if HTTP really is weak with security, and if HTTPS is just a slightly modified version of HTTP, a ground up rebuild funded by the government would make sense. If it isnt that bad, then who cares?

Then again, getting the government to actually be useful like that is like trying to teach a rock to speak...
 
Upvote
0 (0 / 0)

naphini

Ars Praefectus
3,904
Subscriptor
Rich C.":1t2ccham said:
HTTP Authentication can take advantage of encrypted passwords over regular HTTP, though almost nobody does. It's not as user-friendly as old fashioned HTML login forms.)
How would that even work? Would you have to write javascript to encrypt the form entry on the client side before you sent it to the server, and then decrypt it in php or something on the server?
 
Upvote
0 (0 / 0)

The_Barbarian

Ars Scholae Palatinae
893
Sinclaw":36r8c2bs said:
" I always understood that it was an accepted practice (silly in my opinion, but accepted) to just encrypt the username/password being sent to the server."

If it's under HTTP, then it's not encrypted.

Maybe I am wrong about it being used commonly, but I absolutely have seen pages (including a financial institution) that had http:// for the page url, but where definitely sending the username/password over https.

FYI Facebook has a setting to enforce HTTPS.
You don't say. How very interesting. I never would have heard of that if you hadn't said anything, since it clearly hasn't been all over every geek website in existence.
 
Upvote
0 (0 / 0)
HTTP is a work of true genius the fact it still works depite being on a curve that approaches mania, in terms of websites using it each year, is amazing. However I wouldn't agrue that its a bit limited in terms of privacy the way it works sending packets should provide some protection as each packet could take a different internet route to its destination. However I wont be sending my bank details over http and thats why we have https to provide security over the internet for data that actually needs it. So I would say that forcing internet companys to do anything they dont want to or shouldnt have to do is a bad thing for the internet bin the proposal.
 
Upvote
0 (0 / 0)

The_Barbarian

Ars Scholae Palatinae
893
naphini":2slvok4k said:
Rich C.":2slvok4k said:
HTTP Authentication can take advantage of encrypted passwords over regular HTTP, though almost nobody does. It's not as user-friendly as old fashioned HTML login forms.)
How would that even work? Would you have to write javascript to encrypt the form entry on the client side before you sent it to the server, and then decrypt it in php or something on the server?

He is talking about HTTP digest authentication[1][2], which isn't very secure. For starters, it uses MD5 (RFC 2617 is dated 1999, RFC 2069 is 1997), and I am not sure if it actually uses it in a secure manner.

[1] http://en.wikipedia.org/wiki/Digest_acc ... entication
[2] http://www.apps.ietf.org/rfc/rfc2617.html


I saw something a while ago where someone proposed extending and expanding http auth to include modern, secure methods and improving browser UI and page integration, and totally replacing custom html logins with the new native http logins. I sounded very nice, but I haven't seen any follow up on it, and now I can't even find the original post about it.
 
Upvote
0 (0 / 0)
A lot of businesses which perform international business may purposely avoid this to allow government snooping. If they use https then certain governments will perceive the https communications as illegal or even terrorist activity. VoIP is one type of business where VoIP businesses serving international customers may avoid using https for administrative purposes (or VPNs for phone converstations).
 
Upvote
0 (0 / 0)

The_Barbarian

Ars Scholae Palatinae
893
Rich C.":2hm1xlj9 said:
The_Barbarian is probably talking about sites that encrypt the login page itself then revert to an unencrypted connection for the rest. By then you've been assigned a random session ID and no password is being sent.

Some of them are like that. But some are using iframes or some similar horror.
 
Upvote
0 (0 / 0)

Hat Monster

Ars Legatus Legionis
47,680
Subscriptor
Another major stumble of HTTPS is that the server has to encrypt everything. Banner ads, static images, stylesheets, the works, or many browsers will prompt the user to accept the "unsecured" content or plain reject it.

This adds a not-insubstantial amount of processing overhead on the server.

The final, and fatal, stumble in HTTPS is that it is not meant to be a privacy tool. It's meant to ensure the identity of the remote server and the authenticity of the data presented and nothing more. This fucks up name based virtual hosting. Each subdomain I use must have its own certificate unless I can guarantee all my clients support SNI: Which they do not.
 
Upvote
0 (0 / 0)

Tyler X. Durden

Ars Tribunus Angusticlavius
9,201
“crustytheclown” said:
I think caching is overrated and the downsides of caching are why I clean my browser every time I close out.
Because you don’t run a busy site? Caching is a solid strategy to deal with a high frequency of requests to a site, to keep from getting “wanged”. It is a step beyond changing from dynamically created pages to setting up a reverse proxy to put your site behind or caching done at the ISP (or company gateway) level.
 
Upvote
0 (0 / 0)

hobgoblin

Ars Tribunus Angusticlavius
9,070
jonnybond":1grm34wg said:
HTTP is a work of true genius the fact it still works depite being on a curve that approaches mania, in terms of websites using it each year, is amazing.
Well it is dumb as a brick:
server_attention_span.png
 
Upvote
0 (0 / 0)

OwenT

Ars Tribunus Militum
1,908
BlinkingRedLight":bl2wizud said:
According to the team at Goatse Security, SSL and it use in HTTPS is not as secure or reliable as it seems.

see here.

http://security.goatse.fr/clench-our-wa ... ki-forever

for what it's worth, in relation to crustytheclowns comment above,

My privacy is worth EVERYTHING. Especially in this ocean of piss.
Bah, Goatse security. That was an interesting read, actually, but do bear in mind that what they're saying is that SSL is not secure if you assume that the certificate provider might be compromised (either through hackage or pressure from, for example, a government body). That's a problem with the implementation, not the protocol itself.

That said, it's still a potential security flaw and worth fixing ASAP. I'd also like to see a cheaper (*cough* free *cough*) alternative to SSL certificates.
 
Upvote
0 (0 / 0)

Tyler X. Durden

Ars Tribunus Angusticlavius
9,201
hobgoblin":1enm1dgp said:
jonnybond":1enm1dgp said:
HTTP is a work of true genius the fact it still works depite being on a curve that approaches mania, in terms of websites using it each year, is amazing.
Well it is dumb as a brick:
server_attention_span.png
That XKCD comic has to do with the host server having a poor (cheap) implementation where they reroute all their mobile requests to a generic URL, and don’t have mobile mirrors of a lot of their data pages even though they are automatically rerouting all mobile devices to their mobile version of their site.
 
Upvote
1 (1 / 0)

Hat Monster

Ars Legatus Legionis
47,680
Subscriptor
Tyler X. Durden":2s3vo9lf said:
Because you don’t run a busy site? Caching is a solid strategy to deal with a high frequency of requests to a site, to keep from getting “wanged”. It is a step beyond changing from dynamically created pages to setting up a reverse proxy to put your site behind or caching done at the ISP (or company gateway) level.
Not even that, my friend.

Imagine you're in Australia, as mentioned in the article. Your round-trip-time to a US server is about 200ms on a good day due to the finite nature of the speed of light. If static content is cached locally by your ISP, your web experience is plain better.

HTTPS defeats that.
 
Upvote
0 (0 / 0)

Tyler X. Durden

Ars Tribunus Angusticlavius
9,201
nbast":34u1l4d0 said:
I haven't seen anyone mention the IPv4 address space issue. With HTTPS, each site needs it's own IP address. Most smaller sites are hosted on servers that serve dozens of sites per IP address. There just isn't enough address space out there for each to have a dedicated IP.
They mention in the article that it doesn’t work with virtual servers, which is another way of saying that.
 
Upvote
0 (0 / 0)

Galeran

Ars Tribunus Militum
1,969
Subscriptor
Don't underrate caching. A JavaScript library like JQuery or Dojo could easily contribute 20kB-30kB+ to every page load if not cached. Sure you could serve it from a http: connection or the cloud, but then the browser starts complaining about insecure content or cross-site scripting. CSS and reused graphics are similar, but not quite as bad because NoScript won't hassle them.
 
Upvote
0 (0 / 0)