News for hackers. Stuff that matters.
Re:GitHub is adding web cookies for enterprise users by jacamera on Tuesday August 02, 2022 @10:20PM (#32326894)
I don't understand why people care about cookies. The stupid cookie banners are an actual nuisance.
Re:GitHub is adding web cookies for enterprise users by pbreit on Tuesday August 02, 2022 @10:48PM (#32327067)
As much as I loathe the cookie warnings, I'm constantly amazed at situations that don't avoid them. For example: there is no reason that PayPal needs to serve 3rd party cookies in a payment flow.

I've actually started to reject nonessential cookies most of the time now. Doubt it matters at all.

Re:GitHub is adding web cookies for enterprise users by WatchDog on Tuesday August 02, 2022 @10:58PM (#32327135)
Payment gateway integrations might be one of the few legitimate non-advertising use cases I can think of for 3rd party cookies.

What makes you say they don't need them?

Re:GitHub is adding web cookies for enterprise users by lopatin on Tuesday August 02, 2022 @11:00PM (#32327148)
Do you mean that if you reject the cookie then the transaction will fail?
Re:GitHub is adding web cookies for enterprise users by WatchDog on Tuesday August 02, 2022 @11:57PM (#32327495)
I worked for a payment gateway years ago, when safari rolled out their initial blocking of third party cookies back in 2013 it broke some of our transaction flows yes.

There are a bunch of different kinds of payment gateway integrations, with various tradeoffs.

However a common pattern, at least at the time, was to use an iframe with the payment form in it.

Our form was multi page, and used cookie based sessions to track state between pages, so when they started being blocked, the payment form stopped working for safari users. The solution we chose at the time was to put the session id into the URL, but that has it's own security issues. There are other ways to address that particular issue that don't involve cookies, but would have required a significant rewrite of the system.

Some potentially legitimate ongoing use cases for 3rd party cookies, would be remembering payment details, and one click checkout across various sites that use the same payment gateway.

Re:GitHub is adding web cookies for enterprise users by pbreit on Friday August 12, 2022 @03:19AM (#32435494)
Wouldn't those be "necessary cookies"?
Re:GitHub is adding web cookies for enterprise users by lokedhs on Tuesday August 02, 2022 @11:16PM (#32327241)
If the use is required for the site to function, the data may be shared. The only ones you can reject are the ones that are not necessary, which usually involves ad trackers and similar things.

It should also be noted that these popups are likely not legal (or rather, they probably don't constitute informed consent under the the GDPR), but that's a completely different discussion to be had.

Re:GitHub is adding web cookies for enterprise users by pbreit on Friday August 12, 2022 @03:18AM (#32435488)
What 3rd party cookie is needed to process a payment? It's obnoxious I have to take care of the cookie situation what seems like every time I start a PayPal payment flow.
Re:GitHub is adding web cookies for enterprise users by closewith on Wednesday August 03, 2022 @01:03AM (#32327845)
If you actually needed the third-party cookie, it would be classed as strictly necessary and the site wouldn't need to ask for your consent.
Re:GitHub is adding web cookies for enterprise users by booleandilemma on Tuesday August 02, 2022 @10:41PM (#32327029)
They almost feel like a passive-aggressive thing at this point. There's no reason a cookie banner needs to be a modal dialog that blacks out the rest of the web page.
Re:GitHub is adding web cookies for enterprise users by cortesoft on Tuesday August 02, 2022 @11:43PM (#32327416)
It’s like prop 65 posters warning about carcinogens in California. If people insist you warn them about something they are doing, you get around it by forcing everyone to do it for everything so people start ignoring them.
Re:GitHub is adding web cookies for enterprise users by Thorrez on Tuesday August 02, 2022 @11:57PM (#32327497)
>If people insist you warn them about something they are doing, you get around it by forcing everyone to do it for everything so people start ignoring them.

Who does "you" refer to in this sentence? A random business that doesn't like the warnings? How can that random business force everyone to do it for everything?

Re:GitHub is adding web cookies for enterprise users by ffhhj on Tuesday August 02, 2022 @10:53PM (#32327095)
It's a way for them to protest about having to place a banner at all.
Re:GitHub is adding web cookies for enterprise users by dwaite on Tuesday August 02, 2022 @11:42PM (#32327413)
AFAIK GDPR requires that consent can be removed as easily as it was granted - where's the modal pop-up on every screen allowing me to revoke my prior consent and have their advertising partners delete any gathered data?
Re:GitHub is adding web cookies for enterprise users by autoexec on Wednesday August 03, 2022 @03:35PM (#32335870)
You really don't understand why people don't want to have their internet history logged or be tracked as they browse the internet? Cookies that track you are bad. The banners are bad too.
Re:GitHub is adding web cookies for enterprise users by e2le on Tuesday August 02, 2022 @10:27PM (#32326938)
Only consent is needed for cookies that aren't strictly necessary.

https://gdpr.eu/cookies/

If a site is asking for consent, they're either idiots who don't understand what the law requires of them or they intend on tracking their users.

Re:GitHub is adding web cookies for enterprise users by jacamera on Tuesday August 02, 2022 @10:38PM (#32327017)
How do I grant universal consent to be tracked so that I can browse the web in peace? The law failed to consider this and made the browsing experience considerably worse for those of us who couldn't care less about being tracked.

Not to mention teaching users who are not tech-savvy to blindly click "I Accept" and "I Agree" without thinking about it which is an absolute disaster since such users cannot distinguish between a marketing cookie prompt and an OS elevation prompt coming from a piece of malware they just downloaded.

Re:GitHub is adding web cookies for enterprise users by ApolloFortyNine on Tuesday August 02, 2022 @10:47PM (#32327058)
This tends to be an unpopular opinion here, but I agree completely. We had almost gotten rid of popups entirely, and now we have something worse, a required annoying banner that often causes the whole window to redraw and move around.

Since untracked ads pay 80-90% less than tracked ones, they are borderline required by every site that requires advertising to survive (most websites).

In a way I'm sure it's added to vendor lock in, any random Google result you click is guaranteed to hit you with the banner, which on mobile is especially annoying when since they're also required to be prominent (ie take up half the screen because everything in that law is incredibly vague).

Re:GitHub is adding web cookies for enterprise users by tayo42 on Tuesday August 02, 2022 @11:00PM (#32327143)
The ad/pop-up blockers need to start also blocking the dumb modal windows for this. It might be easier too, there's financial insentive in breaking the blocker
Re:GitHub is adding web cookies for enterprise users by haupt on Tuesday August 02, 2022 @11:08PM (#32327196)
uBlock Origin does this. Enable the "I don't care about cookies" list.
Re:GitHub is adding web cookies for enterprise users by petre on Tuesday August 02, 2022 @11:37PM (#32327383)
It breaks some sites, notably German sites.
Re:GitHub is adding web cookies for enterprise users by whakim on Wednesday August 03, 2022 @12:31AM (#32327675)
My guess is that the original intent of the legislation wasn't to force users to click about 20 buttons in order to opt-out (IANAL but this seems to run directly counter to the mandate that it must be as easy to withdraw consent as it is to give it?). I agree that the current experience sucks, although unlike you I'd prefer not to be tracked. That being said, the EU has shown that it continues to iterate legislatively on issues around privacy - see the recent Digital Markets Act, for example. I guess my point is that legislation doesn't always get it right the first time, but I'd much rather see an evolutionary approach to fixing a problem than simply throwing up our hands.
Re:GitHub is adding web cookies for enterprise users by dekelpilli on Tuesday August 02, 2022 @10:46PM (#32327050)
> How do I grant universal consent to be tracked so that I can browse the web in peace

There's a browser extension that automatically rejects cookies on these popups - https://consentomatic.au.dk/. I've found it works for most websites.

Re:GitHub is adding web cookies for enterprise users by nordsieck on Tuesday August 02, 2022 @10:58PM (#32327136)
> There's a browser extension that

The problem with browser extensions is... you have to trust them.

Re:GitHub is adding web cookies for enterprise users by dekelpilli on Tuesday August 02, 2022 @11:25PM (#32327306)
That's a valid concern. This extension is open source [1], if you were to want to see what's happening under the hood.

[1] https://github.com/cavi-au/Consent-O-Matic

Re:GitHub is adding web cookies for enterprise users by jacamera on Tuesday August 02, 2022 @11:43PM (#32327415)
Thanks for the recommendation! I am indeed sketched out by most extensions that require the all-hosts permission but this one does seem pretty legit so I'll give it a shot.
Re:GitHub is adding web cookies for enterprise users by lokedhs on Tuesday August 02, 2022 @11:20PM (#32327276)
This is a fair concern. The particular extension is developed by Aarhus University, which is a major university in Denmark. Not a guarantee it won't do anything bad, but it should give you more comfort than any random extension developer.
Re:GitHub is adding web cookies for enterprise users by Pulcinella on Tuesday August 02, 2022 @11:04PM (#32327167)
I’m sure anyone installing an extension to make it easier to be tracked doesn’t care what the browser extension is doing either.
Re:GitHub is adding web cookies for enterprise users by Zarel on Tuesday August 02, 2022 @11:17PM (#32327250)
There's a sense in which cookies can't do any harms besides tracking, while a browser extension can do much worse.
Re:GitHub is adding web cookies for enterprise users by nulbyte on Tuesday August 02, 2022 @10:45PM (#32327046)
As I understand it, the GDPR did not make web browsing a worse experience. Rather, folks tasked with compliance at a few companies came up with a horrible solution that probably doesn't actually comply, and everyone started copying it. GDPR requires consent; it doesn't require you to come up with the most obnoxious way to obtain it.
Re:GitHub is adding web cookies for enterprise users by jacamera on Tuesday August 02, 2022 @11:36PM (#32327373)
Can you think of another way to implement it that wouldn't be just as obnoxious though? I feel like anything that could be perceived as unobtrusive could just as likely be seen as trying to hide or minimize the presence of the banner which might be construed as a violation of the law.

I feel like EU regulators should have worked with web standards committees to add a technical means and requirement to classify cookies. Then browser vendors could allow users to choose which types of cookies they are willing to accept from which websites.

Re:GitHub is adding web cookies for enterprise users by nulbyte on Wednesday August 03, 2022 @07:55AM (#32330506)
> Can you think of another way to implement it that wouldn't be just as obnoxious though?

A link to a page where visitors can opt-in would work just fine and not be obnoxious. The banners are obnoxious not because it's impossible, but because the very idea of consent goes against the business' goals. Or their just lazy: You don't need PII to track marketing performance, and if you aren't unnecessarily collecting PII, you don't need to ask.

> I feel like EU regulators should have worked with web standards committees to add a technical means and requirement to classify cookies.

Hardly anyone would use it, because most companies aren't seriously interested in getting consent. They are interested in data, and consent is merely a hoop to jump through.

Re:GitHub is adding web cookies for enterprise users by haupt on Wednesday August 03, 2022 @02:54AM (#32328469)
There's currently hullabaloo regarding the Global Privacy Control HTTP header as a spiritual successor to Do Not Track. It's already enforceable in California under the California Consumer Protection Act and the specification suggests they are also targeting GDPR compliance (although I don't know how close/feasible that is).

If it were to see widespread adoption then all you would have to do is change a setting in your browser.

Re:GitHub is adding web cookies for enterprise users by _Algernon_ on Wednesday August 03, 2022 @05:03AM (#32329339)
Re:GitHub is adding web cookies for enterprise users by kurupt213 on Tuesday August 02, 2022 @11:25PM (#32327308)
There are browser plugins to accept all cookies
Re:GitHub is adding web cookies for enterprise users by zzo38computer on Wednesday August 03, 2022 @02:11AM (#32328200)
I think that (maybe) a possible better way might be, instead of such cookie popups, to have:

- Needing writing a documentation (which is viewable even if cookies, CSS, and JavaScripts are disabled) about what each cookies means. (This includes both necessary and unnecessary cookies.)

- Writing a better web browser(s) with more user controls, and can more easily modify it and recompile, etc. (This way, you can more easily adjust individual cookies more finely, including which cookies are enabled, duration overrides, values, etc.)

Re:GitHub is adding web cookies for enterprise users by dragonwriter on Tuesday August 02, 2022 @11:27PM (#32327323)
> Only consent is needed for cookies that aren't strictly necessary.

Do you mean “Consent is only needed...”, because while the existing word order is grammatically viable, it doesn't communicate anything that makes sense with the rest of the post.

Re:GitHub is adding web cookies for enterprise users by ocdtrekkie on Tuesday August 02, 2022 @10:25PM (#32326922)
The nuisance is an intentional choice by the bad actors in marketing to make you mad about the banner instead of their business practices of tracking you everywhere.

Understand that cookie banners are malicious compliance and they make a lot more sense.

Re:GitHub is adding web cookies for enterprise users by eyelidlessness on Tuesday August 02, 2022 @11:10PM (#32327208)
This is an utterly annoying failure of legislation. The law could have mandated that a standardized mechanism to opt in (or even out!) would be implemented by major browsers and the relevant standards, providing APIs for websites to integrate. It could have even been about that vague and still be more effective and less counterproductive. The actual legislation invites this sort of abuse. Understanding that the abuse is intentional is a component of understanding the situation. But the blame for it doesn’t absolve the law, it implicates it.

If the vague proposal I’m suggesting sounds outlandish, that’s more or less how every major browser implements other requests for intrusive APIs as a matter of protecting users. Even when they do it half-heartedly they do it by developing a standard with their more invested peers which is far less prone to universal abuse.

Re:GitHub is adding web cookies for enterprise users by ocdtrekkie on Tuesday August 02, 2022 @11:26PM (#32327316)
I agree it was a weak legislation, but I think governments failed at the time to realize just how blatantly crooked the tech industry is, and is willing to be. I think it's taken a while but more aggressive actions are starting to be taken. Though ultimately I don't think we'll have straightened out Big Tech until we have laws on the books that let us put Pichai and Zuckerberg in prison. As long as their actions can be aspired to instead of a cautionary tale, more will follow in their footsteps.
Re:GitHub is adding web cookies for enterprise users by jacamera on Tuesday August 02, 2022 @10:32PM (#32326969)
Why should I be mad about a tracking cookie?

> Understand that cookie banners are malicious compliance and they make a lot more sense.

How are they malicious compliance? The laws are poorly-reasoned and poorly-written. I'll continue to be mad about that.

Re:GitHub is adding web cookies for enterprise users by haileys on Tuesday August 02, 2022 @10:35PM (#32326992)
There are no laws in Australia requiring cookie banners, and yet I get hit with them constantly. So the law is clearly not the reason for these annoying banners.
Re:GitHub is adding web cookies for enterprise users by Zarel on Tuesday August 02, 2022 @11:15PM (#32327227)
The EU laws require the banners to be shown to all EU citizens regardless of the country they're in, right? I think the only way to be absolutely safe is to show cookie banners everywhere.
Re:GitHub is adding web cookies for enterprise users by closewith on Wednesday August 03, 2022 @01:08AM (#32327872)
No, it applies to EU residents, no matter their citizenship.
Re:GitHub is adding web cookies for enterprise users by petre on Tuesday August 02, 2022 @11:42PM (#32327407)
No it doesn't. It stipulates that the site operators need informed consent to track you using cookies. So what they do is nag you with dark patterns to obtain it, creating an annoying experience.
Re:GitHub is adding web cookies for enterprise users by aneeshnl on Tuesday August 02, 2022 @11:17PM (#32327244)
Developer here. Its much easier and a lazy way to enable for everyone, rather than tracking ips, citizenship and show accordingly. Developers are lazy.
Re:GitHub is adding web cookies for enterprise users by lopatin on Tuesday August 02, 2022 @10:48PM (#32327060)
Which Australian sites require cookie opt-ins?
Re:GitHub is adding web cookies for enterprise users by jacamera on Tuesday August 02, 2022 @10:40PM (#32327025)
So then why do you think you see them?

*Edit: Sorry if this came off as rude but it was a legitimate question. I honestly cannot think of another plausible reason that would explain the proliferation of the banners.

Re:GitHub is adding web cookies for enterprise users by systemvoltage on Wednesday August 03, 2022 @12:09AM (#32327572)
Yep, this is why we can't have nice things. Nice things sometimes sound nice initially but they have major design flaws and made by people who don't know much about things. But these people have monopoly of coercion on you so you can't really do anything about it.

> “The legislative department is everywhere extending the sphere of its activity, and drawing all power into its impetuous vortex.” -Madison, Federalist No. 48

HN is still in a love affair with GDPR.

Nice things need to be thoroughly thought out.