Hacker News new | ask | show | jobs
by viraptor 2426 days ago
You don't ban them forever. Banning specific ranges which impact you right now is very effective too. Also "building a secure site" at some scale is impossible. At some point you try to figure out where the risk is, how to mitigate it, and what happens after a break-in. You can't prevent it. Logging helps track specific behaviour and catch those situations. That's similar to fraud prevention as well. The fact that someone who just logged in from Germany tries to spend credit in a request from Brazil is important and prevents real crime. That kind of information needs to be connected to an account.
1 comments

I specifically said you can get and log country information without logging specific IP’s.

Working on at /24 the level does everything else you mentioned.