English 中文(简体)
允许密码中的位置
原标题:Allowing spaces in passwords

我写的是一份“网址”的文字,我很想知道,我是否允许使用密码。 使用<代码>sha1(>)复制密码,似乎用载有空间的密码进行罚款。 然而,我注意到,许多主要地点不允许密码含有空间。 是否有理由这样做?

最佳回答

请在密码中明确允许空间。 许多人更喜欢使用<>黄色>新谢物(),而你却不给人以生命之苦,而没有好处。

In addition to allowing passphrases instead of passwords, you should also encourage them because they are more secure (OK, I admit half the reason I wrote this was to put in the xkcd link).

问题回答

ever绝对没有任何良好理由限制用户在其密码中使用特性。 页: 1

我看不出为什么会发生。 如果这不会给你的执行带来任何问题(而且它就没有问题),那么它就会把现有的特性空间扩大到1个,并使这种裂痕更加困难。

只要你的洗衣机制能够每时都能够完全消除,限制密码允许的特性就毫无意义。 例如,如果你打算对使用不同特性编码的系统进行密码核对,如在PHP中打上密码并试图在 Java加以核对,你可能不想重复多面性。





相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签