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

clog

Seniorius Lurkius
3
ajmas":20ce5zfc said:
... The question I have..., is whether there is a way of getting an encrypted connection without the server having the overhead to prove its identity? Would it be confusing to the user to make the distinction between an encrypted connection and a certified server?

The current implementation relies on public/private key cryptography. The client needs the server's public key in order to encrypt the data, and therefore needs a mechanism to trust that the server and its certificate are who they say they are.
 
Upvote
0 (0 / 0)
Zeebee":382tkr8s said:
Another thing is debugging. Sometimes you might want to do a packet capture to see what data is being exchanged between the server and the client; that's completely useless with HTTPS (you'lly only see encrypted traffic).

That is what Firebug or similair is for. You look at these things in the browser.

Or you man-in-the-middle yourself with Fiddler.
 
Upvote
0 (0 / 0)
Taoism":2osdjt0h said:
davis":2osdjt0h said:
Alfonse":2osdjt0h said:
PEOPLE have to ask what your privacy is worth.

If you're looking at a website that has only data on it, there's no need for privacy. There's nothing to steal.

Other than your username and password

I think you missed his point. If you go to a website that has no need for a login (i.e. it is only something you are consuming the data of, like perhaps a news aggregation) then there is no need to use https since you aren't passing any sensitive information.

Yes, there is no value at all in your browsing habits and which articles on the news aggregator you click through etc. That's why DoubleClick et al spend billions tracking your movements ...

If you don't value your privacy it is because you are naïve and/or too young to know better.
 
Upvote
0 (0 / 0)

Bargearse

Smack-Fu Master, in training
91
Fulgan":526vinks said:
Hat Monster":526vinks said:
They also do not cache HTTPS. Internet Explorer has an option to, disabled by default, but the cached content is instantly invalid.

Actually, that's wrong. Twice. All browser will cache HTTPS content by default AS LONG AS IT'S NOT HTTP. AFAIK, only IE has a setting NOT to cache HTTPS content. The reason is that they need to save the content to pass it to the program that will be able to use it (and it's why getting Citrix web interface to work on "secure" workstations is a real pain).

Actually, that's wrong. Firefox has a setting to cache HTTPS content which is disabled by default: http://kb.mozillazine.org/Browser.cache.disk_cache_ssl. IE6 will also not cache HTTPS content by default, but that's been changed in newer versions of IE.
 
Upvote
0 (0 / 0)
Bargearse":2g9k1cs4 said:
Actually, that's wrong. Firefox has a setting to cache HTTPS content which is disabled by default: http://kb.mozillazine.org/Browser.cache.disk_cache_ssl. IE6 will also not cache HTTPS content by default, but that's been changed in newer versions of IE.

That is only if the webdeveloper doesn't add any headers to tell it to do so.

I tested it today. Modern browsers (Firefox 3, Firefox 4, Opera 11, Chrome 9) had no problems with it, but even in IE8 it was hard just getting it to do proper caching of normal HTTP, I stopped after an hour of trying. I'm sure it was something small, but I have other things to do.
 
Upvote
0 (0 / 0)

Aegrotatio

Wise, Aged Ars Veteran
122
You can't be so dumb as to think your username and password are being sent online using Twitter/Facebook/etc.? Even the most amateur "journalist" should know that the login process *is* protected using HTTPS, just not the rest of the session. That part is protected by a cryptographically secure cookie that is impossible to spoof and expires if you don't use the service for too long.

Sheesh. Get a grip, already.
 
Upvote
0 (0 / 0)

WDReinhart

Ars Legatus Legionis
12,438
Subscriptor++
Aegrotatio":2ug9ct6g said:
That part is protected by a cryptographically secure cookie that is impossible to spoof and expires if you don't use the service for too long.

There's no such thing. A cookie sent in the clear is vulnerable to replay attacks (no matter how "cryptographically secure" the algorithm that generated it might be).
 
Upvote
0 (0 / 0)

slidekb

Seniorius Lurkius
1
Some issues in the article and in some of the comments. Most browsers can cache ssl content. But if they couldn't, the comment that increasing bandwidth will help is generally false. Latency is usually a bigger problem than bandwidth, and light isn't getting any faster.

Next, a comment said that Moore's Law will help with the CPU requirements of SSL. This isn't true. As CPUs get faster, we will keep moving to larger key sizes to prevent easy cracking of the encryption. The industry is currently moving to 2048-bit keys from 1024-bit keys which increases the workload 5-6x. Hardware solutions like the BIG-IP is the best solution but still has to throw more hardware at larger keys.
 
Upvote
0 (0 / 0)

orangebus

Smack-Fu Master, in training
51
To provide a viewpoint from the other side, my company chose to go full-https for a website we're developing now. The security concessions we'd have to make by not going full-https were just too much, considering the nature of the personal data our users provide to us. Here are some other approaches we could have taken, and why we didn't:

1) No https. That would be completely unacceptable because of login passwords and credit card transactions. We'd fail PCI compliance, have our account terminated by our payment provider, and would likely be sued.

2) Forms submit to https, but the pages that contain them are not https. This doesn't work because we need to inform the user the page is secure, not just make it invisibly secure. (Sure, on the flip side, a website could have a form on a secure page submit to a non-secure URL, but to me that's actively being evil, and probably a lot less common than the reverse where it's likely incompetence.)

3) Pages that contain forms where personal data is submitted are https, but the rest of the site is not. The Firesheep problem is what worries us here. The session cookie is the key to all the personal data a user has submitted (at least, that which the users can view themselves, which does not include the password and credit card information in our case, but does include other very personal information). Blaming the users for connecting to an unsecured wifi network is not an excuse for us. Users trust that what they tell us is confidential, and that shouldn't change if they decide to access the site from a coffee shop.

4) Everything is http except the login page, but after logging in, we give a secure-only session cookie, and all links we present to that user are https. This is the least worrisome mixed http/https solution I can think of. There's the minor user experience downside of: say the user logs in, then opens a new tab and enters "example.com/stuff", or he clicks an http link to your site from another page - he won't be logged in when he views that page. Since the session cookie is secure-only, he didn't send it along with his request, and you don't know who he is.

All that said, there's one more problem with all of these approaches and even the full-https one. Many users are likely to attempt to reach your site via http initially. If they type "example.com" in the address bar, the browser requests "http://example.com". It's unlikely, but that website might be evil. http://example.com doesn't have to verify itself, so it could be evil.com. Chrome and Firefox 4 try to mitigate this problem with the "Strict-Transport-Security" header. It allows websites to tell the browser, "Anything from my domain should be requested via https, no matter what the user types. Observe this rule for the next X seconds (where X is some really high number)." As long as the lifetime of that header is high and the user visits your website on a regular basis, you're all set. You'd only have to worry about the user's first ever request to your website being http. As long as they're using Chrome or Firefox 4 that is...
 
Upvote
0 (0 / 0)

mishad

Seniorius Lurkius
7
Kurt":b7onb6kl said:
There's literally no point in using SSL when scripts come over HTTPS.

Yes. What browsers/HTTP need is a way to put ads in "sub-pages" separate from the main page, so that the main content can be safely HTTPS and the ads can be HTTP. With protection to ensure that scripts on one can't get to the others or to the main page. (Of course, the ad networks might not like being kept in such a "jail"; that's a social/economic issue not a technical one, though.)

This is also why:

syndeticdotorg":b7onb6kl said:
My personal way of doing it is to serve almost everything over HTTP. Sensitive data and CRUD operations are then sent over an HTTPS (TLS + Strict Transport Security) connection ... I end up with less CPU/memory overhead and good caching of large assets (JS, CSS, media).

is a bad idea -- if the JS assets are not sent via a secure channel then a MITM attacker can modify them in flight and hijack the session/page that way. See http://rdist.root.org/2010/11/29/final- ... pt-crypto/.

dnebdal":b7onb6kl said:
Not that it establishes identity in itself, but that really is a separate problem. (One option is to do it like SSH - store the first pubkey you see from the server, and whine if it changes. You'll get caught if there's a MitM attack going on the first time you log in, but it's still a step up from nothing.)

This is a good idea.

Lennie":b7onb6kl said:
There is already a Firefox extension which handles the SSH-warn-when-a-certificate-changes, the problem with this is most certificates only last one year. It really does not work well for 'ordinary people'.

CertLock (http://code.google.com/p/certlock/, see http://files.cloudprivacy.net/ssl-mitm.pdf for motivating paper/rationale) is another FF extension which uses country-based heuristics to minimise this false-positive problem. Unfortunately it doesn't seem to have got beyond proof-of-concept in the last year...
 
Upvote
0 (0 / 0)

ColinABQ

Ars Tribunus Angusticlavius
6,378
Subscriptor++
HunterZ":24v01et0 said:
I can't believe the article didn't mention that certificates aren't free.

From the article:

That's the question I put to Yves Lafon, one of the resident experts on HTTP(s) at the W3C. There are some practical issues most Web developers are probably aware of, such as the high cost of secure certificates, but obviously that's not as much of an issue with large Web services that have millions of dollars.
(emphasis mine)
 
Upvote
0 (0 / 0)
ColinABQ":yoxjjkpu said:
HunterZ":yoxjjkpu said:
I can't believe the article didn't mention that certificates aren't free.

From the article:

That's the question I put to Yves Lafon, one of the resident experts on HTTP(s) at the W3C. There are some practical issues most Web developers are probably aware of, such as the high cost of secure certificates, but obviously that's not as much of an issue with large Web services that have millions of dollars.
(emphasis mine)

But it is a bullshit argument anyway.

If you goto https://www.startssl.com/ you can get as many free certificates as you like. No tricks, it just works. Since Q1 of 2010.

It is different if you want a 'greenbar' like for a bank of course.
 
Upvote
0 (0 / 0)

ColinABQ

Ars Tribunus Angusticlavius
6,378
Subscriptor++
Lennie":xvw3wi4p said:
ColinABQ":xvw3wi4p said:
HunterZ":xvw3wi4p said:
I can't believe the article didn't mention that certificates aren't free.

From the article:

That's the question I put to Yves Lafon, one of the resident experts on HTTP(s) at the W3C. There are some practical issues most Web developers are probably aware of, such as the high cost of secure certificates, but obviously that's not as much of an issue with large Web services that have millions of dollars.
(emphasis mine)

But it is a bullshit argument anyway.

If you goto https://www.startssl.com/ you can get as many free certificates as you like. No tricks, it just works. Since Q1 of 2010.

It is different if you want a 'greenbar' like for a bank of course.

It isn't a bullshit argument at all. It is, however, very highly context-sensitive. Those free certs are just fine - perfect, in fact - for a lot of uses, maybe not so much for others. Just want encryption at a site frequented by tech-geeks, friends and family that you can instruct or coach, or any small group of even marginally savvy users? Perfect. But with a slightly broader user base, the smarter and truer answer becomes, "maybe, maybe not - we need to think about this." By mentioning banks, you've set the bar in the wrong place entirely, imo. I take your point, but there are just a lot of use cases that are much further down the evolutionary ladder, in which you don't want certain things to happen, ever. Those certain things are warnings, prompts, or other pop-ups from the browser. Me, I care far less about the green and the padlocks and icons than I do about it just not resulting in pop-ups or a red exclamation mark on a yellow background (for example), anywhere in the browser window. I could accept the lack of those "high trust" symbols, I just can't accept the presence of any negative or questionable stuff.

If those free StartSSL certs have come far enough to prevent the negative stuff, even if not showing a 'greenbar' and so on, then I'm with ya. If first-time visitation doesn't result in prompting for accepting the cert, I'm with ya. Link us to a site that uses a FREE StartSSL cert (not a higher grade, purchased one, not even their cheapest one), so that we can play with it and see for ourselves.
 
Upvote
0 (0 / 0)