PHP: Anti-Flood/Spam system

前端 未结 6 1447
南笙
南笙 2021-02-04 11:17

I\'m actually working on a PHP project that will feature a user system (Login,Register,Send lost password to email,..) and I think that this may be very vulnerable to Brute-Forc

6条回答
  •  伪装坚强ぢ
    2021-02-04 11:47

    Besides doing what Gazler is telling you, you should also have some way of counting the login attempts in general. It the total of all login attempts are bigger then X then either start using the sleep command or just say the servers have a high load.

提交回复
热议问题