我可以将这些 char(☺☻♥♦♣) 设置为密码吗

发布于 2024-10-04 06:32:08 字数 1459 浏览 4 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

烛影斜 2024-10-11 06:32:09

好吧,甚至还没有接近编程问题,但无论如何我都会回答它。

  1. 密码中允许和不允许的策略由各个应用程序/网站等决定。
  2. 只要字符是密码的有效输入,它们就可以像任何其他字符一样容易地被暴力破解。包含奇怪字符的短密码仍然比由字母数字字符组成的较长密码弱很多倍。

OK, not even close to a programming question, but I'll answer it anyway.

  1. The policy for what is and is not allowable in a password is decided by the individual application/website etc.
  2. So long as the characters are valid input for a password, they can be brute-forced just as easily as any other character. A short password with strange characters is still many times weaker than a longer password made from alphanumeric characters.
与往事干杯 2024-10-11 06:32:08

这取决于很多因素,包括哪个程序接受密码、它们存储密码的位置和方式、服务器和客户端运行的平台以及其他可能的平台。您可以使用此密码从 Windows 客户端登录,但不能从 Unix 客户端登录(反之亦然)。如果这是一个网络应用程序,它可能可以在一种浏览器上运行,但不能在另一种浏览器上运行。或者它在英语机器和日语机器上的工作方式可能不同。

我建议不要这样做。想出安全的 7 位 ASCII 密码很容易,但实际上没有必要走这条路。

It would depend a bunch of things, including what program is accepting the password, where and how are they storing it, what platforms the server and client are running on, and likely others. You may be able to log in using this password from a Windows client but not Unix (or vice versa). If this is a web app, it might work on one browser but not another. Or it might work differently on an English machine vs. a Japanese machine.

I would recommend against this. It's easy enough to come up with secure 7-bit ASCII passwords that going down this road isn't really necessary.

〃温暖了心ぐ 2024-10-11 06:32:08

如果问题是“我可以使用这些”,那么答案是“也许”。您需要彻底测试它们,以确保您的应用程序支持密码中的扩展 ASCII 字符。如果您使用各种操作系统或混合语言系统,它们兼容的可能性就较小,因为您开始遇到不同的编码问题。所谓的扩展 ASCII 集有许多版本,它们的表示方式也有很大不同。

如果问题是“这些更安全吗”,那么答案是“不是真的。”当然,增加密码中可能包含的字符数会增加其熵值并增加数量密码破解软件破解密码需要一定的时间。然而,实际上,通过添加 5 或 6 个额外字符,您不太可能看到很大的差异。通过已经得到良好支持的密码复杂性要求以及增加密码最小长度等策略(可能类似于密码短语,而不是简单的密码),您可以获得足够的安全级别。 word)将使破解比几个额外的字符困难得多。

另请参阅文档了解 Windows Server 中的密码:

强密码的一个例子是
J*p2leO4>F。

一个密码就可以满足大部分
强密码的标准但是
还是比较弱。例如,
你好2U!是一个相对较弱的密码
尽管它满足了大部分
强密码的标准和
也满足复杂度要求
密码策略。 H!elZl2o 是
强密码,因为字典
单词中散布着符号,
数字和其他字母。这是
重要的是要教育用户
使用强密码的好处和
教他们如何创建密码
实际上很强大。

您可以创建包含以下内容的密码
扩展 ASCII 中的字符
字符集。使用扩展 ASCII
字符数增加
您可以选择的字符
您创建一个密码。结果,它
可能需要更多时间
密码破解软件来破解
包含这些扩展的密码
ASCII字符比它更容易破解
其他密码。使用扩展之前
密码中的 ASCII 字符,
彻底测试它们以确保
包含扩展 ASCII 的密码
字符兼容
您的组织的应用程序
用途。要特别谨慎
使用扩展 ASCII 字符
密码(如果您的组织使用)
几种不同的操作系统。

您可以找到扩展的 ASCII 字符
在字符映射表中。一些扩展的 ASCII
字符不应该用于
密码。如果出现以下情况,请勿使用字符
中没有为其定义击键
角色的右下角
地图对话框。欲了解更多信息
关于如何使用字符映射表,请参见
使用字符映射表。

包含以下内容的密码示例
扩展 ASCII 中的字符
字符集为 kUµ!¶0o 和
Wf©$0k#»g¤5ªrd。

If the question is "can I use these," then the answer is "maybe." You will need to test them thoroughly to make sure that your application(s) support extended ASCII characters in passwords. If you use various operating systems or mixed-language systems, it's somewhat less likely that they'll be compatible because you start getting into different issues with encodings. There are many versions of the so-called extended ASCII set and they can be represented very differently.

If the question is "are these more secure," then the answer is "not really." Sure, increasing the number of characters that can potentially be included in a password increases its entropy value and increases the amount of time it would take for password-cracking software to crack the password. However, in practice, it's relatively unlikely that you'll see much difference by adding 5 or 6 extra characters. You can get a sufficient level of security with the password complexity requirements that are already well-supported, and tactics like increasing the minimum length of your password (perhaps to something like a pass phrase, rather than a simple word) will make cracking much more difficult than a few additional characters.

Also see the documentation for passwords in Windows Server:

An example of a strong password is
J*p2leO4>F.

A password can meet most of the
criteria of a strong password but
still be rather weak. For example,
Hello2U! is a relatively weak password
even though it meets most of the
criteria for a strong password and
also meets the complexity requirements
of password policy. H!elZl2o is a
strong password because the dictionary
word is interspersed with symbols,
numbers, and other letters. It is
important to educate users about the
benefits of using strong passwords and
to teach them how to create passwords
that are actually strong.

You can create passwords that contain
characters from the extended ASCII
character set. Using extended ASCII
characters increases the number of
characters that you can choose when
you create a password. As a result, it
might take more time for
password-cracking software to crack
passwords that contain these extended
ASCII characters than it does to crack
other passwords. Before using extended
ASCII characters in your password,
test them thoroughly to make sure that
passwords containing extended ASCII
characters are compatible with the
applications that your organization
uses. Be especially cautious about
using extended ASCII characters in
passwords if your organization uses
several different operating systems.

You can find extended ASCII characters
in Character Map. Some extended ASCII
characters should not be used in
passwords. Do not use a character if a
keystroke is not defined for it in the
lower-right corner of the Character
Map dialog box. For more information
about how to use Character Map, see
Using Character Map.

Examples of passwords that contain
characters from the extended ASCII
character set are kUµ!¶0o and
Wf©$0k#»g¤5ªrd.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文