有什么原因为什么某些网站不允许在密码期间? [英] Is there a reason why certain sites don't allow periods in passwords?

查看:247
本文介绍了有什么原因为什么某些网站不允许在密码期间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是想知道为什么某些网站不允许除了字母和数字之外的任何密码字段。

I was just wondering why certain website don't allow anything other than letter and numbers in the password field.

有安全的原因,或者它只是一个限制他们使用的数据库?感谢您的信息。

Is there a security reason or perhaps it's just a limitation of the DB they are using? Thanks for the info.

编辑:看来Oracle的数据库不承认大写和小写?这是真的?我被告知,通过PM。感谢信息家伙,这是非常有用的东西。

It appears that Oracle's database doesn't acknowledge uppercase and lowercase? Is this true? I was told that via PM. Thanks for the information guys, this is really useful stuff.

我想知道为什么这个问题有3票关闭。没有足够的jQuery和手绘圆?

I wonder why this question has 3 votes to close though. Not enough jQuery and freehand circles?

推荐答案

没有理由,除了草率的DB编码,他们将允许纯文本DB或使用(非便携式)DB函数哈希密码并使用直接SQL语句。
这似乎就像纯字符串验证。

No reason at all, except for sloppy DB coding where they would allow plain text in the DB or use the (non-portable) DB functions to hash the password and use direct SQL statement. This seems just like plain string validation.

除此之外,在实用方面,特殊字符放置在外国或狭窄的键盘是棘手的,可能更多对正在旅行的用户(或在更现代的情况下替代输入,如智能手机上的屏幕上键盘)感到沮丧。
有些网站甚至可以通过提供自己的屏幕键盘来登录(进行各种加扰)来进一步推进系统。

Other than that, on the practical side, special character placement in foreign or cramped keyboard is tricky and might be more frustrating for users that are traveling (or in the more modern case alternative input like onscreen keyboard on smartphone). Some websites might even push the system further by providing their own on-screen keyboard to log in (with various scrambling).

不允许使用特殊字符有助于QA,

Disallowing special characters helps QA, and reduces multi-platform user frustration.

最后,允许有限的(被认为安全的)字符集(不仅是标点符号,而且是Unicode中更多的特定于语言的字符) ,开发人员还可以避免浏览器和服务器应用程序之间的编码混淆(表单数据编码在标准中不是很清楚,在某些浏览器上可能很棘手)。

And finally, allowing a limited (deemed safe) character set (that is not only punctuation but also more language specific characters in Unicode), developer can also avoid encoding confusion between the browser and the server application (form data encoding is not very clear in the standard, and can be tricky on some browsers).

这篇关于有什么原因为什么某些网站不允许在密码期间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆