gikopoi2
gikopoi2 copied to clipboard
crazy idea for persisting aboon info (dunno if feasible/useful enough/hard to implement)
what if we kept in the local storage a list of hashes of the blocked IPs? if the hash is typographically strong enough it shouldn't be a leak of other users' IPs, it'd persist across different logins (people wouldn't have to block other users again when they have to restart poipoi after an update) and if we keep the original username it might also make it easier one day to make a screen for cancelling abons. blockedIps in the Player class would become a hashedBlockedIps list and all hashedBlockedIps.includes() calls will be of course done with an IP hash as parameter.
Just an idea, i'm not even sure i think it's a good feature to have.
To be fair, troublesome people can just trivially alter their IP, and plenty of people have multiple IPs (mobile, dynamic home IP, VPN, and even proxies et al) so is it really necessary to extend blocking past "this IP in this session" ?
(in the same regard, trouble makers can also trivially alter browser fingerprinting)