News for hackers. Stuff that matters.
Re:Why HTTP/2.0 does not seem interesting (2012) by exceptione on Tuesday July 09, 2013 @04:40PM (#6015301)

  In my view, HTTP/2.0 should kill Cookies as a concept,
  and replace it with a session/identity facility, which makes 
  it easier to do things right with HTTP/2.0 than with HTTP/1.1.
count me in. Cookies are a huge waste of bandwidth and freaking annoying here in Europe as you cannot visit a site anymore without being warned you are about to receive yet even more cookies.
Re:Why HTTP/2.0 does not seem interesting (2012) by yahelc on Tuesday July 09, 2013 @04:43PM (#6015322)
> Cookies are...freaking annoying here in Europe as you cannot visit a site anymore without being warned you are about to receive yet even more cookies.

Seems like the blame for that lies not with cookies themselves, but with the EU's cookie law.

Re:Why HTTP/2.0 does not seem interesting (2012) by drostie on Tuesday July 09, 2013 @06:12PM (#6015969)
At best that's a symptom.

Cookies are for session management; the central problem with cookies is that people feel that servers will treat certain sessions as ephemeral, but instead those servers track these people for a long-term creepy analysis. One connected problem is that many sites require cookies in order to show public content. Public-content sessions should be entirely ephemeral, meaning that you shouldn't need a cookie in the first place. (The New York Times offends in this regard egregiously and persistently.)

You can easily comply with the EU law by either placing the notice on the login page or else not storing cookies. This means that anybody who abuses cookies in the above way needs to be loud about it; "we're not giving you an ephemeral presence like you think!" -- which actually not only fixes this problem but also creates an incentive to not abuse cookies in this way.

I am not saying that we should abandon sessions entirely, but that it would be nice if the 'default' session treatment followed the rules that online banking uses: when the browser is closed, all sessions are done. If we did this then we'd want to include a 'persistent login' mechanism, which would take the form of an in-browser 'would you like to sign in?' dialogue accompanying a web site. This means that unlike current HTTP authentication, it would have to be somewhat asynchronous; you are shown the ephemeral version of the page while the browser itself requests you to confirm that you want to join your long-term session there. (I was originally going to recommend that the browser just handle a digital signature scheme, but of course that does not solve the 'logging on to Facebook from your sister's computer' problem easily. Hm.)

Re:Why HTTP/2.0 does not seem interesting (2012) by emmett on Tuesday July 09, 2013 @10:08PM (#6017030)
For advertisers this is a non-starter, because it prevents you from knowing the size of your audience. All sites would immediately begin requiring some form of "login" in your scenario in order to enable tracking again.

If you can't track uniques, you can't sell ads, and that's pretty much all there is to it. So there's huge incentive to undermine any scheme to prevent unique user tracking.

The solution is to somehow ban advertising, but that's biting off a bit more than simple user privacy.

Re:Why HTTP/2.0 does not seem interesting (2012) by kenko on Tuesday July 09, 2013 @11:30PM (#6017293)
"For advertisers this is a non-starter, because it prevents you from knowing the size of your audience. All sites would immediately begin requiring some form of "login" in your scenario in order to enable tracking again."

If this is really a non-starter for advertisers, then mandating it will effectively ban advertising, non?

Remember: your business model is not sacrosanct! Disruption!

Re:Why HTTP/2.0 does not seem interesting (2012) by emmett on Thursday July 11, 2013 @02:38AM (#6024768)
I'm not arguing against banning advertising. Actually, I think that would be a fine idea.

Just recognize that unless you do ban advertising, the result of this change will not be what's intended. The intended result is that websites, in general, stop tracking anonymous users. Instead, it will result in every user being explicitly tracked.

The most important issue here is that the political feasibility of reducing tracking of anonymous users is equivalent to the political feasibility of banning advertising.

(I'm slightly overselling here -- in reality, a good amount of advertising of the "sponsorship" form would still work. But the impact would be large enough that most websites would force login as I describe rather than stop tracking people.)

Re:Why HTTP/2.0 does not seem interesting (2012) by nine_k on Wednesday July 10, 2013 @02:47AM (#6017873)
It will also kill most "free content" websites that live off the ads revenue. Are you ready for paywalls everywhere, even if subscription is 25 � / mo?
Re:Why HTTP/2.0 does not seem interesting (2012) by lambda on Wednesday July 10, 2013 @09:41AM (#6019384)
Your symbol comes out as a Unicode replacement character for me. What was it supposed to be?
Re:Why HTTP/2.0 does not seem interesting (2012) by nine_k on Wednesday July 10, 2013 @12:59PM (#6021085)
It was the cent symbol, ¢; somehow it was broken in transmission.
Re:Why HTTP/2.0 does not seem interesting (2012) by lambda on Saturday July 13, 2013 @11:32AM (#6037733)
That time it worked. Not sure why it broke the first time.
Re:Why HTTP/2.0 does not seem interesting (2012) by anonymfus on Tuesday July 09, 2013 @10:21PM (#6017073)
To sell ads you don't need to show exact size of audience, estimation is enough as proven by TV.
Re:Why HTTP/2.0 does not seem interesting (2012) by rlanday on Tuesday July 09, 2013 @11:16PM (#6017244)
If you’re an Internet company trying to pull advertising dollars away from TV, one of your arguments is that you can do much better tracking. When you run a TV ad, everyone watching the show gets the same ad, and people watching different shows see the same ad a non-optimal number of times.
Re:Why HTTP/2.0 does not seem interesting (2012) by emmett on Thursday July 11, 2013 @02:42AM (#6024780)
That's a very good point. This would definitely happen to some degree. But it would still hurt internet advertising a good deal not to be able to track uniques, to show you an ad only once per day, to count how many people have been shown an ad, etc. even if you could know about how many people were on the site.

The result would likely be tracking via login as I describe, rather than true anonymity.

Re:Why HTTP/2.0 does not seem interesting (2012) by exceptione on Tuesday July 09, 2013 @04:48PM (#6015367)
Well the law is implementend in an annoying fashion. For functional cookies there is no requirement to ask permisson. But many websites choose to block all content asking to permit them to place additional cookies for benefits, i.e. tracking cookies.

Like the author said:

  Cookies are, as the EU commision correctly noted, 
  fundamentally flawed, because they store potentially 
  sensitive information on whatever computer the user 
  happens  to use, and as a result of various abuses and
  incompetences, EU felt compelled to legislate a "notice 
  and announce" policy for HTTP-cookies.
Re:Why HTTP/2.0 does not seem interesting (2012) by Bosence on Tuesday July 09, 2013 @05:03PM (#6015483)
Oh yes, the regulation was rushed in by people not really sure what to do or what was happening.

Why it couldn't be a browser option, I have no idea.

Re:Why HTTP/2.0 does not seem interesting (2012) by jimktrains2 on Tuesday July 09, 2013 @06:09PM (#6015944)
Isn't it already a browser option?
Re:Why HTTP/2.0 does not seem interesting (2012) by rmc on Wednesday July 10, 2013 @05:25AM (#6018329)
Yes. But the default browser options are "accept all cookies, without asking", which goes against the spirit of the law, and also the letter.
Re:Why HTTP/2.0 does not seem interesting (2012) by andyhmltn on Wednesday July 10, 2013 @04:25AM (#6018113)
Please correct me if I'm wrong, but wasn't that the UK's law? If it was, they seemed to backtrack on it and say that it's fine as long as you mention it in your site's TOS
Re:Why HTTP/2.0 does not seem interesting (2012) by rmc on Wednesday July 10, 2013 @05:24AM (#6018322)
It was an EU wide law. Each country implemented EU in similar but different ways.
Re:Why HTTP/2.0 does not seem interesting (2012) by reidrac on Wednesday July 10, 2013 @06:34AM (#6018514)
It is a EU Directive: https://en.wikipedia.org/wiki/Directive_(European_Union)

AFAIK the EU dictates the result, not the means. UK's first implementation of the e-Privacy Directive was unfortunate, but I don't think it means the directive was a bad idea.

Re:Why HTTP/2.0 does not seem interesting (2012) by rmc on Wednesday July 10, 2013 @11:10AM (#6020224)
An "EU Directive" is a law, it's decided on in the same democratic manner that (say) UK laws are decided on. It's like how in the UK there are "Acts of Parliament" (i.e. laws).

It's up to individual countries to implement the minimum, and likewise, each country will implement each one slightly different. The UK law and the EU Directive are basically the same, "It's illegal to do X, Y and Z unless you do W etc." There isn't really a mean/results differnce here.

Re:Why HTTP/2.0 does not seem interesting (2012) by andyhmltn on Wednesday July 10, 2013 @06:21AM (#6018469)
Thanks for that!
Re:Why HTTP/2.0 does not seem interesting (2012) by solox3 on Tuesday July 09, 2013 @05:08PM (#6015515)
The EU "Cookie law" is not limited to cookies. The term used in regulation 6 is "storage", which includes at least localStorage, headers, and remotely hosted solutions (off the top of my head).
Re:Why HTTP/2.0 does not seem interesting (2012) by DrJokepu on Tuesday July 09, 2013 @05:52PM (#6015826)
Basically, I can guarantee that killing cookies would lead to 0% adoption of HTTP 2.0 forever, due to the same inertia that is holding Python 3 or IPv6 back. Doesn't matter if there's a better mechanism included that does the same job.
Re:Why HTTP/2.0 does not seem interesting (2012) by takeda64 on Tuesday July 09, 2013 @06:34PM (#6016141)
Provide session support in HTTP and still cookies for backward compatibility. If the support works right, people will migrate themselves.
Re:Why HTTP/2.0 does not seem interesting (2012) by exceptione on Tuesday July 09, 2013 @05:58PM (#6015857)
…unless the EU forbids tracking and session cookies all together, but a ban on tracking cookies alone will be enough motivation already i guess.
Re:Why HTTP/2.0 does not seem interesting (2012) by jessaustin on Tuesday July 09, 2013 @10:38PM (#6017124)
I always thought that rfc2616 felt more "pure" since it didn't mention cookies. I mean, http was supposed to be stateless right?
Re:Why HTTP/2.0 does not seem interesting (2012) by yalogin on Tuesday July 09, 2013 @04:56PM (#6015429)
What is the alternative to cookies? What does he mean by session/identity facility?
Re:Why HTTP/2.0 does not seem interesting (2012) by _delirium on Tuesday July 09, 2013 @05:02PM (#6015473)
There's some discussion in this thread: http://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/...

in short,

   the need for a Session header to replace the use of Cookies
   for basic session management
Re:Why HTTP/2.0 does not seem interesting (2012) by cldr on Tuesday July 09, 2013 @05:22PM (#6015611)
So is that just cookies by another name?
Re:Why HTTP/2.0 does not seem interesting (2012) by Qantourisc on Tuesday July 09, 2013 @05:43PM (#6015757)
Cookies with an expire of session and secure flag set: yes. But this should be more secure, and stored for 1 session implicitly.
Re:Why HTTP/2.0 does not seem interesting (2012) by jimktrains2 on Tuesday July 09, 2013 @06:10PM (#6015949)
And in theory less data, right? a session ID doesn't need to store the kilobytes that cookies do.
Re:Why HTTP/2.0 does not seem interesting (2012) by yalogin on Tuesday July 09, 2013 @06:43PM (#6016195)
Why can't there be multiple sessions for different functionalities? I am not sure people are going to relinquish the cookie concept. All the sessions are doing is have the "cookies" transported as part of the HTTP message and not as a separate file (payload)
Re:Why HTTP/2.0 does not seem interesting (2012) by jimktrains2 on Tuesday July 09, 2013 @09:11PM (#6016804)
I'm not sure I understand you.

I'm talking about a Session-ID header that'd have a 128bit (say) max length or something. Not something that has a few kb limit like a cookie.

Also, a GET request wouldn't send a payload so I'm not sure what you mean.

Re:Why HTTP/2.0 does not seem interesting (2012) by jessaustin on Friday July 12, 2013 @10:08AM (#6032622)
Cookies are sent in the Cookie and Set-Cookie headers. No separate files.