Defense against brute force attack (first commit)