How do you enforce strong passwords?

前端 未结 5 1351
我在风中等你
我在风中等你 2021-02-14 23:58

There are many techniques to enforce strong passwords on website:

  • Requesting that passwords pass a regex of varying complexity
  • Setting the password autono
5条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-15 00:35

    Don't enforce anything ... if you are not protecting financial information or something equally important, then don't make the user choose a strong password.

    I have the same weak password on a whole load of sites that require registration for forums, etc. I don't really care if someone guesses it and can post messages as me (and don't think there is much motivation for someone to do so). What I can't do is remember different strong passwords for a dozen sites and don't really want to use another piece of software to manage them for me.

    The best compromise would be to show some kind of feedback to the user on how strong the password is (based on whether it is a dictionary word, number of different character types, length, etc).

提交回复
热议问题