Live data from Hacker News

GDPR for lazy people: Block all European users with Cloudflare Workers

apility.io

41–50 of 1001 posts

Re: GDPR for lazy people: Block all European users with Cloudflare Workers

#41
post #34
post #13

Earlier quoted context omitted.

You're the third person to ask this and I'd like to ask you: is this idea coming from a specific source? The law, like any other EU law, obviously does not apply outside the EU. It applies to companies that do business in the EU (even if they are based outside), but it can't apply to companies that don't do business there. https://ec.europa.eu/info/law/law-topic/data-protection/refo...

GDPR applies to all EU citizens. It doesn't matter if the citizen is accessing the web site from the eu or another country. Blocking people in the EU doesn't block all eu citizens from accessing your product/service.

Do you have a source? It is my understanding that the world operates on the idea that the laws of where you are located only apply to you.

An expat living in the EU is protected because they reside in the EU. If you are living in the USA, you must follow American laws.

Re: GDPR for lazy people: Block all European users with Cloudflare Workers

#42

How does CloudFlare know if someone is a citizen of the EU and traveling abroad? In haproxy, I redirect a few accept-language headers, but even this has its faults.

Also, GDPR applies to more than just citizens of the EU. The language doesn't even say citizens. Data subject could be someone in the EU on vacation for two week. Even me a heathen US citizen! O_o

And that makes sense. This is about business conducted in the EU while someone is in the EU. The EU does not have jurisdiction outside of the EU.

Re: GDPR for lazy people: Block all European users with Cloudflare Workers

#43
post #31

Earlier quoted context omitted.

You can see the average latency here: https://status.apility.io But Cloudflare has servers very close to our endpoints around the world, so I guess We are working hard to reduce the amount of time to establish the connection. It's about 80% of the time of the request.

If you make sure that the response is cacheable, then Cloudflare will cache it at the edge and so only the first check for any particular IP will be slow. What makes a response cacheable is a little complicated. There's cache headers, but also some heuristics involved. However, you can override all of that from a Worker by passing an explicit cache TTL to fetch(): fetch(url, {cf: {cacheTtl: 86400}}) This will force C…

Yes, you should cache as much as you can to reduce the latency. We have some examples using NGINX and Lua to cache at the very edge and reduce roundtrips to our endpoints.

Probably I will give it a try on Workers another Friday afternoon.

Re: GDPR for lazy people: Block all European users with Cloudflare Workers

#44
post #13

How does CloudFlare know if someone is a citizen of the EU and traveling abroad? In haproxy, I redirect a few accept-language headers, but even this has its faults.

You're the third person to ask this and I'd like to ask you: is this idea coming from a specific source? The law, like any other EU law, obviously does not apply outside the EU. It applies to companies that do business in the EU (even if they are based outside), but it can't apply to companies that don't do business there. https://ec.europa.eu/info/law/law-topic/data-protection/refo...

You’re going to get downvoted for that comment, but you do raise a legitimate question of enforceability. Sure the EU can say any company in the world who has EU residents’ data should comply with GDPR. But... or what exactly? The EU doesn’t have the power to fine companies outside of their jurisdiction. I mean, they can try. But as far as I know there is no enforceability to ensure that the company actually pays the fine.

For larger companies with offices in the EU (especially the ones headquartered there for tax purposes), they obviously have no choice to comply. But what about a small startup, with its only domicile and employees in the US?

What exactly could the EU do to punish a startup in that case? Unless they have some enforceability treaty with the US, I don’t see how they have any legal ground to extract fines for arbitrary laws defined in their jurisdiction. The worst they could do is ask EU ISPs and/or payment networks to block the offending sites, right?

Re: GDPR for lazy people: Block all European users with Cloudflare Workers

#45
post #7

Considered this before, but it doesnt work. IIRC, the law applies to euro citizens both living in country and abroad. As such, geoip blocking is not a working strategy. (a french citizen who lives in japan still had GDPR rights) A better one would likely be a clickwrap agreement for all users stating "European citizens are not allowed on this service" which they have to click a "I am not european" tickbox to.

I'm the author of the post, and yes: blocking 500 million geolocated people is crazy. That's not the spirit of the law. I just wrote the post because if you want to overkill and you are lazy, you can follow our recipe to 'implement' GDPR. I just wanted to be sarcastic and also show how easy to implement Cloudworkers + Apility.io.

On the contrary, if you are running a business where 99% of your customers are outside of the EU, its totally rational versus opening yourself up to massive liability.

Re: GDPR for lazy people: Block all European users with Cloudflare Workers

#46
post #8

I think the most important part about the post is at the very end: > Please don’t take us seriously > This is an example of all the things you can do with Cloudflare Workes and our API. If you like it, please spread the word! But hey, don’t take us seriously. We just wanted to take the drama out from all the GDPR madness out there. Anyway: just for academic interest I’m curious how much this increases the overall req…

You can see the average latency here: https://status.apility.io But Cloudflare has servers very close to our endpoints around the world, so I guess We are working hard to reduce the amount of time to establish the connection. It's about 80% of the time of the request.

Isn't there a Cloudflare geo-location header that you can trivially activate and map to EU/Non-EU? That would result in no additional latency except for the worker itself.

Re: GDPR for lazy people: Block all European users with Cloudflare Workers

#47

Earlier quoted context omitted.

I'm the author of the post, and yes: blocking 500 million geolocated people is crazy. That's not the spirit of the law. I just wrote the post because if you want to overkill and you are lazy, you can follow our recipe to 'implement' GDPR. I just wanted to be sarcastic and also show how easy to implement Cloudworkers + Apility.io.

Blocking 500 million geolocated people is crazy. That's not the spirit of the law. No crazier than thinking you have to comply if you have no connection to the EU.

If you have no connection with EU why do you collect personal data from the EU citizens? If you don't collect why worry?

Re: GDPR for lazy people: Block all European users with Cloudflare Workers

#48
post #7

Considered this before, but it doesnt work. IIRC, the law applies to euro citizens both living in country and abroad. As such, geoip blocking is not a working strategy. (a french citizen who lives in japan still had GDPR rights) A better one would likely be a clickwrap agreement for all users stating "European citizens are not allowed on this service" which they have to click a "I am not european" tickbox to.

I'm the author of the post, and yes: blocking 500 million geolocated people is crazy. That's not the spirit of the law. I just wrote the post because if you want to overkill and you are lazy, you can follow our recipe to 'implement' GDPR. I just wanted to be sarcastic and also show how easy to implement Cloudworkers + Apility.io.

Best hope there are no people using VPN’s

Re: GDPR for lazy people: Block all European users with Cloudflare Workers

#49

I'm the author of the post. My most stupid post is in HN! crazy! I just wanted to be sarcastic and make some laughs about people blocking all traffic from Europe, which is crazy! It's a Friday afternoon blog post to show how cool my product is with Cloudflare Workers and having fun at the same time!

It's no laughing matter for some companies. EU citizens have turned into pests overnight. There are businesses who don't make much money from the EU to justify compliance with the regulations.

>> EU citizens have turned into pests overnight.

Are they really pests for demanding privacy? In today's environment?

Re: GDPR for lazy people: Block all European users with Cloudflare Workers

#50

I'm the author of the post. My most stupid post is in HN! crazy! I just wanted to be sarcastic and make some laughs about people blocking all traffic from Europe, which is crazy! It's a Friday afternoon blog post to show how cool my product is with Cloudflare Workers and having fun at the same time!

It's no laughing matter for some companies. EU citizens have turned into pests overnight. There are businesses who don't make much money from the EU to justify compliance with the regulations.

Is it onerous because you are doing dodgy things with EU citizens data, because you don't take information security seriously or because you've fallen for some of the FUD around GDPR (having to hire a DPO, being fined 2 trillion dollars, etc etc)?

If it's too hard for you to copy paste a GDPR compliant privacy policy and monitor a GDPR email address then well, maybe you're in the wrong job.

Post reply on HN