News for hackers. Stuff that matters.
Re:Two years in, GDPR defined by mixed signals, unbalanced e... by tjoff on Friday May 29, 2020 @01:15PM (#23352674)
Disrespectful web developers have become the bane of my life.

Be thankful that GDPR exposes them, and look for alternatives.

Re:Two years in, GDPR defined by mixed signals, unbalanced e... by microcolonel on Friday May 29, 2020 @01:19PM (#23352742)
Setting aside GDPR for a moment, the cookie thing just means that if I want to use these websites, I have to enable cookies so that I can dismiss the cookie dialog.
Re:Two years in, GDPR defined by mixed signals, unbalanced e... by legitster on Friday May 29, 2020 @01:32PM (#23352909)
You are allowed a cookie that tracks their opt in to your other cookies, so long as it is anonymous (or so our lawyer tells us).

On our site, we ping whether that cookie is set before we load the rest of the cookies.

Re:Two years in, GDPR defined by mixed signals, unbalanced e... by microcolonel on Friday May 29, 2020 @01:36PM (#23352975)
Is it acceptable to store a cookie that defaults to "false" provided it is generic? That would solve the problem of not being able to detect if cookies are enabled in the browser until you try to store them.

added: person down thread indicated that there's an API for determining if cookies are enabled for the host on your page's origin called navigator.cookieEnabled which I am shocked I've not seen nor heard of even once before today. Hallelujah. I now agree that everyone who doesn't check that before pestering people about cookies, when JavaScript is available, is literally satan.

Re:Two years in, GDPR defined by mixed signals, unbalanced e... by legitster on Friday May 29, 2020 @01:54PM (#23353215)
We didn't trust using the host cookie settings because most users don't know they exist.

But we were told anonymous cookies were totally fine and within the spirit of the law. If you hit the "Accept" button, you got a cookie that allowed more cookies.

Re:Two years in, GDPR defined by mixed signals, unbalanced e... by scrollaway on Friday May 29, 2020 @01:51PM (#23353180)
It is acceptable to use cookies in general as long as they are required for the functionality of the site. This includes logging in, shopping carts, gdpr cookiewalls, ...
Re:Two years in, GDPR defined by mixed signals, unbalanced e... by ratww on Friday May 29, 2020 @01:44PM (#23353080)
Even if there was no new API, storing a cookie "just to check if it works" is not against the GDPR. It's a functional cookie.
Re:Two years in, GDPR defined by mixed signals, unbalanced e... by tjoff on Friday May 29, 2020 @01:21PM (#23352771)
Again, only because of incompetent and/or immoral developers.
Re:Two years in, GDPR defined by mixed signals, unbalanced e... by shadowgovt on Friday May 29, 2020 @01:31PM (#23352902)
How, exactly, is a developer supposed to change state in a stateless protocol to denote that you've dismissed the cookie dialog if the user has disabled the feature that allows the developer to add state to the stateless protocol?
Re:Two years in, GDPR defined by mixed signals, unbalanced e... by Fargren on Friday May 29, 2020 @01:38PM (#23352991)
The law does not forbid you from storing any cookie, even if the user declined. The user can decline cookies that are not needed to provide what the user asked for. Even after the user declines, you are allowed to use cookies to keep track of what's in the user cart, whether the user has logged in or whether the user rejected cookies.
Re:Two years in, GDPR defined by mixed signals, unbalanced e... by ratww on Friday May 29, 2020 @01:35PM (#23352960)
I believe his point is that if the user disabled cookies, there's no point in showing the banner. If you don't show the banner you can't track the user, of course.

It's not hard. It's just a matter of checking for navigator.cookieEnabled.

Re:Two years in, GDPR defined by mixed signals, unbalanced e... by morelisp on Friday May 29, 2020 @01:46PM (#23353107)
cookieEnabled is not reliable for handling third-party cookies, unless you also load a third-party frame running JS. (And even then it doesn't work like you'd want in many browsers.)
Re:Two years in, GDPR defined by mixed signals, unbalanced e... by ratww on Friday May 29, 2020 @01:51PM (#23353175)
Sorry if I missed something, but AFAIK grandparent wasn't talking about third party cookies, only about having cookies disabled and being unable to store the consent flag, so I don't see how this applies to this specific discussion.
Re:Two years in, GDPR defined by mixed signals, unbalanced e... by shadowgovt on Friday May 29, 2020 @01:55PM (#23353247)
It does. Most people concerned about the GDPR are concerned about third-party cookie tracking.

It also highlights how, in general, this is a hard problem. Compliance with this law without creating a dead-static page has subtle complications.

Re:Two years in, GDPR defined by mixed signals, unbalanced e... by CuriousSkeptic on Friday May 29, 2020 @03:13PM (#23354289)
I never dismiss those dialogs anyway. Just make sure your site works with the browsers reader mode and I’m fine.

But on the top of my head only display the dialog if the browser cache is cold. Could embed a timestamp in some cachable resource. (Edit: Perhaps this counts as a “cookie“ in the legal sense)

Re:Two years in, GDPR defined by mixed signals, unbalanced e... by microcolonel on Friday May 29, 2020 @01:29PM (#23352876)
How else can you even store a consent for cookies/localStorage? You can go around calling people immoral and incompetent, but what is the actual way to ask for permission to store data?

If your contention is that it is immoral or incompetent to store any data except through some specific user interaction related to those data, sure that's an opinion.

But if your job is literally "tell me which other pages users go to after this one", it's not really that crazy of an ask.

The law seems to call upon you to make it conspicuous, but when you make it conspicuous it is annoying, the law then calls upon you to make it not annoying.

The better solution, in my mind, is just making cookie control features more visible in browsers. They work great, and it's the right place for this form of consent.

Malicious actors abuse the current circumstance, because it relies on there being a responsible party with collateral to complain against. This is one of those times where the engineered solution is better than the social one.

Re:Two years in, GDPR defined by mixed signals, unbalanced e... by ratww on Friday May 29, 2020 @01:31PM (#23352904)
> How else can you even store a consent for cookies/localStorage?

You said "the cookie thing just means that if I want to use these websites, I have to enable cookies so that I can dismiss the cookie dialog".

But if cookies are disabled, then there's no point in asking for consent. There should be no cookie banner in this case.

Re:Two years in, GDPR defined by mixed signals, unbalanced e... by microcolonel on Friday May 29, 2020 @01:34PM (#23352950)
> But if cookies are disabled, then there's no point in asking for consent.

But the only way to determine if cookies are actually disabled in the browser is to attempt to store cookies, which is the thing you're asking consent for.

Re:Two years in, GDPR defined by mixed signals, unbalanced e... by TheCoelacanth on Friday May 29, 2020 @02:05PM (#23353411)
A cookie storing simply whether the person has accepted, declined or not yet responded to your consent dialog does not require consent.
Re:Two years in, GDPR defined by mixed signals, unbalanced e... by ratww on Friday May 29, 2020 @01:37PM (#23352985)
Not really, there's also navigator.cookiesEnabled now.

And even if there wasn't, attempting to store a cookie with a dummy value just to check if cookies are enabled does not break the GDPR for three reasons: first, if it's a dummy value it's not really personally identifiable information. Second, it's a functional cookie required for the site to work. And third, the site can just delete it afterwards the checking. No consent required in this case.

Re:Two years in, GDPR defined by mixed signals, unbalanced e... by lucassen on Friday May 29, 2020 @01:34PM (#23352941)
what are you referring to? I fear I am one of these incompetent devs since I don’t understand the implied transgression.