Hacker News new | ask | show | jobs
by ilovefood 2027 days ago
So sending a request to cloudflare to get your users IP makes this GDPR compliant? This is not how any of this works. Be careful when using this script. In any case, the cloudflare dependency needs to be listed in your Data Protection page.
1 comments

This is a fair point. I wish there was a way to get a visitor's IP without the need to call a server.

That being said, my website is already served through Cloudflare, and this is an endpoint Cloudflare provides for debugging purposes.

I think this is ethically safe, but legally it probably is not. I definitely agree.