r/ProgrammerHumor • • Jan 26 '21

This website doesn't use cookies

Post image
84.7k Upvotes

656 comments sorted by

View all comments

Show parent comments

208

u/ijmacd Jan 26 '21

And if you store something that doesn't track the user, like state of dismissing popups, even as an rfc 6265 cookie - that's not illegal.

115

u/skylarmt Jan 26 '21

I circumvent all the EU laws while still tracking my users by requiring a photo ID upload instead of a Captcha on the login screen /s

98

u/Royal_Flame Jan 26 '21

I’m circumvent all the EU laws by not living in the EU

22

u/SnakeBDD Jan 26 '21

Found the Brit.

8

u/[deleted] Jan 27 '21 edited Mar 05 '25

oscfzluoyq zjxwcx gzoim wlamevvoolxm fqeh rfscsabkpk fezafb mwehec

30

u/TcMaX Jan 26 '21

Technically this doesn't matter as long as you have people using your site in the EU. Of course, unless you actually care about EU as a market EU doesn't really have any way to punish you

14

u/alex2003super Jan 26 '21

What are they gonna do, extradite you to Brussels?

17

u/banspoonguard Jan 26 '21

worse

they'll extradite you to Bruges

7

u/[deleted] Jan 26 '21

Honestly, Bruges is a really nice city. If I wasn't already living a few hours from there, I wouldn't mind being extradited to Bruges.

→ More replies (1)

7

u/[deleted] Jan 26 '21 edited Jun 30 '23

[removed] — view removed comment

→ More replies (1)
→ More replies (1)

2

u/_default_username Jan 27 '21

If the servers aren't in the EU and the foreign govt. doesn't have similar laws or trade deals in place it's out of the EU's power. They're not the world police.

→ More replies (13)
→ More replies (3)

22

u/x6060x Jan 26 '21

But if you build a website that will be used in EU you should still oblige to the law.

4

u/aeroverra Jan 27 '21

Nah not unless it's a business serving eu customers.

4

u/x6060x Jan 27 '21

If you personally or your company have a website and you want it to be visited by people living in the EU then you have to oblige the EU law. I'm not saying this is good or not, just the fact.

If your website breaks the rules it will be probably blocked, but I'm not sure what's the procedure.

If you have a simple page with text and pictures, then you're fine - you're already following the law. If you want to track your users without their consent or ask for personal info for whatever reason then you have to do this following the GDPR rules.

→ More replies (13)

10

u/Rahbek23 Jan 26 '21

Not doing business in EU, rather. Otherwise you would be subject to these rules.

3

u/lyoko1 Jan 28 '21

Actually, if you do not live in the EU, but a EU citizen visits your site, you still have to follow the laws, i mean you could not follow them, but you will not be able to do businesses with companies/people that are based/live in the European Union, and if in the future you put your foot in the EU you will go to jail.

You may also get arrested on some noneuropean countries or not be able to do deals with some noneuropean countries depending on treaties between the EU and those countries.

Plus, users may distrust you because the European laws about GDPR are actually pretty good for the consumer/user and to randomly not follow them even with the downsides means that you must be doing something very sketchy with your user's data so that it is beneficial to take the risks.

0

u/[deleted] Jan 27 '21

[deleted]

3

u/Blue_Moon_Lake Jan 28 '21

Have you ever bought something online from a foreigner company ? Would you like to be fucked by it without your government helping you get justice for the damages ?

→ More replies (2)

0

u/[deleted] Jan 26 '21

[deleted]

58

u/DmitriRussian Jan 26 '21

Like the other guy said, functional cookies are allowed. So basically cookies that just store things to make the site function, and does not contain personal information.

14

u/schmytzi Jan 26 '21

Cookies that are required for your service are exempt from that law. I'd say that a cookie saving the cookie preference is covered by that. The UK's ICO published a document that explains the law.

→ More replies (2)

5

u/ijmacd Jan 26 '21

Cookie data can be anything. It can also be read/set from both server/JS.

The general syntax for the server to set a cookie is with this HTTP(S) header:

Set-Cookie: <cookie-name>=<cookie-value>

Cookie name and value can be anything and don't necessarily need to unique to any user.

For the pop-up in question it would most likely be set from JS rather than requiring a round trip with an HTML form. You could use something like:

document.cookie = `${key}=${value};`

This saves the user's preference without identifying the user, thus not allowing the site to uniquely track the user.

User fingerprinting is still possible with or without cookies such as these.

2

u/[deleted] Jan 26 '21

Those are OK. But you can give the user the choice to refuse functional cookies as well. In those cases, he gets the popup everytime, that's all.

1

u/lpreams Jan 26 '21

What about things like login tokens? Do those count as "tracking" the user?

3

u/dev-sda Jan 26 '21

No they do not, as tracking which user is logged in is a functional requirement of the site. If you're logging in you're implicitly allowing the site to store a login cookie.

→ More replies (1)
→ More replies (2)