this post was submitted on 08 Jan 2024
1031 points (99.3% liked)

Technology

59657 readers
2852 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] FishFace@lemmy.world 29 points 10 months ago (4 children)

A start would be to require sites to remember non-consents for at least as long as they remember consents. Why do I have to be asked about cookies by every site every month?

[–] JackbyDev@programming.dev 17 points 10 months ago (1 children)

That sort of thing is stored in a cookie.

[–] barsoap@lemm.ee 11 points 10 months ago

You don't need permission for that particular one, though, it's site functionality and the user can reasonably expect that that kind of thing gets remembered.

Lots of stuff doesn't need permission, when you're seeing a banner either you're dealing with someone clueless, or they want to track you. Or both, of course.

[–] LrdThndr@lemmy.world 7 points 10 months ago (2 children)

Web developer here. A “cookie” is just a piece of information stored on your machine. A cookie can be a setting, saved app data, or a tracking id.

The reason you keep seeing the banner is because by saying “no” to cookies, you’re telling them they don’t have permission to store ANYTHING on your computer. Which is fine. Your computer your call.

But if they can’t store anything on your computer, there’s no way to remember that setting next time you come to the website. No local setting storage means they don’t have the stored “no cookies” setting to load. Likewise there’s no tracking id they could potentially look your setting up in their own database by.

Web site requests are “stateless”. That means that, to a web server, each and every single request to a server is its own brand new, separate connection with no link to any other connection. The only way to share data between individual requests is via some kind of stored “state”. That state can come from your computer in the form of cookies, or from the server in the form of sessions. But linking a connection to a session requires your computer providing a session id; and guess how your computer has to store a session id? If you guessed “in a cookie” you win.

Are cookie popups annoying? Oh holy Christ yes, both from a web user standpoint and from the stand point of having to implement them as a developer. But by outright rejecting cookies (and/or auto-wiping your cache/cookies when you close the browser), you’re telling the website it’s not allowed to store your preferences for not having cookies and eliminating the websites ability to recall that preference at all.

[–] barsoap@lemm.ee 17 points 10 months ago (1 children)

The reason you keep seeing the banner is because by saying “no” to cookies, you’re telling them they don’t have permission to store ANYTHING on your computer.

That's not how the regulation works. You don't need to ask for permission to remember settings the user actually set themselves. Those companies don't want to remember.

[–] SweetBilliam@midwest.social -1 points 10 months ago (1 children)

Another web developer here, that is how the California and European rules are interpreted. If we're acting in good faith we do not store anything.

Maybe you can find a way to argue user settings and session cookies don't require consent, but I am not a lawyer and I err on the side that doesn't put me out of business.

[–] barsoap@lemm.ee 2 points 10 months ago* (last edited 10 months ago)

It's not about "finding a way to argue", but "follow the law". Which means "analyse every data point and categorise it". When you do that for remembering cookie settings, going down the three-part test, 1) The purpose of not annoying users is legitimate, 2) It is necessary to store a single boolean for that, 3) Balancing: As our previous analysis left us with a single boolean we simply note that that's not personal data.

This kind of stuff shouldn't be done by lawyers but your data protection officer. Random lawyers will have all kinds of crazy opinions about the regulations because they don't understand that area of law enough to interpret it. Heck your run off the mill US lawyers won't even understand European legal theory enough to understand it. Data protection officers, however, are trained and certified to do exactly those calls.

I don't know about education in the US but back in the early 00s, when I was still polishing lecture hall chairs with my butt, data protection was part of the mandatory curriculum. Not an official certification, but like 80% of what you needed to know to pass a certification test, and about 500% of what you need as a developer, which is spotting when something should get looked at.

As to putting you out of business: Even if my analysis was wrong (it isn't), this isn't "fine into bankruptcy" but "polite letter" territory. All those companies using dark patterns in cookie banners, OTOH, are risking serious action. It could even be argued that not remembering accept/reject settings is in itself a dark pattern, but again that would be "polite letter" territory.

[–] FishFace@lemmy.world 10 points 10 months ago

I know how HTTP works. These banners are supposed to (and are legally allowed to) store a cookie saying you have refused. Websites are allowed to store session cookies with displaying a banner at all.

[–] ILikeBoobies@lemmy.ca 6 points 10 months ago* (last edited 10 months ago) (1 children)

No cookies storing your answer

[–] FishFace@lemmy.world 9 points 10 months ago

No, they set a cookie to store it, but with a low retention period, so you get bugged again.

[–] extant@lemmy.world 0 points 10 months ago

Because you are cleaning your cache/cookies and wiping out the record of your selection, or outright rejecting them so they are never saved to begin with.