Should whitespace characters be allowed in a password?

前端 未结 3 2023
隐瞒了意图╮
隐瞒了意图╮ 2021-01-02 03:11

I\'ve tried different sites/products and this seems to be split fairly evenly. Windows 7 and Gmail allow you to insert spaces in your password. Hotmail and Twitter do not.

3条回答
  •  余生分开走
    2021-01-02 04:07

    The main problem I see would be usability for the user in terms of e.g. trailing spaces. Also if you start allowing non-visible characters like the space you might also start allowing all sorts of other non-visible characters like tabs and so on. Imho the disadvantages outweigh the benefits. To make a password really secure just increase the length and allow some special characters, numbers and letters and be case specific. With e.g. > 20 digits thats practically unbreakable at this stage (at least in terms of worth the effort..).

提交回复
热议问题