How do you enforce strong passwords?

前端 未结 5 1350
我在风中等你
我在风中等你 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

    The best way really depends on your site and what you are using. But the ideal way is to do as much on the client side as you can before they submit it. Using RegEx is a good way. If you can make them not have to submit the form again, that is ideal.

提交回复
热议问题