Preventing dictionary attacks on a web application

前端 未结 8 1005
一个人的身影
一个人的身影 2021-02-01 20:53

What\'s the best way to prevent a dictionary attack? I\'ve thought up several implementations but they all seem to have some flaw in them:

  1. Lock out a user after X
8条回答
  •  再見小時候
    2021-02-01 21:31

    It depends on what you mean by "prevent".

    If you don't want them wasting your bandwidth, the throttling, lockout, etc are viable options. There is overhead with heat-tables -- you have to create and maintain the logic, store and administer the "heat maps", etc, etc. I've also seen some ip geolocation based systems that throw up a captcha or alters its log in profile if a user tries to log in from a "distant" or "unknown" ip.

    If you simply want to massively reduce the effectiveness of dictionary attacks, use a salt in addition to password hashes.

提交回复
热议问题