Brute force protection

@memes

  • T. Hex@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    1
    ·
    3 years ago

    How does that stop a brute force attack? As written, it only stops the single luckiest brute force attack that happens to get the password right on their first try.

    • chraebsli@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      3 years ago

      You can’t really prevent a brute force attack. Even if you prevent it from one IP or so, you can still do “distributed” brute force attacks.

      Also only allowing one password per 5 seconds or so per IP will not work if you have lots of users and they are at work and have the same IP.