This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
With the GDPR just around the corner, here are two useful ways to protect your users’ IP addresses. Both support IPv4 and IPv6, and are included in the ip_anonymizer gem. Masking This is the approach Google Analytics uses for IP anonymization : For IPv4, the last octet is set to 0 For IPv6, the last 80 bits are set to zeros require "ipaddr" def mask_ip(ip) addr = IPAddr.new(ip) if addr.ipv4? # set…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.