有效的密码字符 [英] valid password characters

查看:61
本文介绍了有效的密码字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用2015年的视觉工作室来创建注册页面。



我意识到默认情况下有一个一个在asp.net但我不知道如何添加新的字段,如电话和地址,我想要的。



我决定开始使用空项目我有一个密码文本框我遇到了特殊字符问题喜欢',*和& ;.在过去。



我想知道这是否会在以后的MSSQL服务器中出现问题。我应该阻止用户输入吗?


我也不想重新发明轮子,所以如果有人知道在webforms和MVC中自定义默认注册页面的好方法我就是对于那个 


解决方案

问候,


< p style ="margin:0in 0in 8pt"> 请检查以下线程讨论与密码验证有关。这对你有帮助。并且请在适当的
论坛中发布查询以获得更好的帮助。


https://social.msdn.microsoft.com/Forums/ en-US / 6c085e98-3592-41c5-98b1-caaa0989f1a0 / invalid-valid-characters-for-password?forum = whatforum


https://social.msdn.microsoft.com/Forums/en-US/49206fe8-5efb-4a19-90aa-f8b25d7b5b0b/password-validation-length-and-characters?fo rum = regexp


https://social.msdn.microsoft.com/Forums/en- US / 53863859-2e1f-4854-bc6d-4bc97b7c23cd /如何对验证密码逐一些-限制状长度应待-8-酮-特殊symbolalphanumeric?论坛= WPF


此致


I am using visual studios 2015 to create a Registration page.

I realized that there is one by default one in asp.net but I don't know how to add new fields like telephone and address which I want.

I decided to start  with an empty project I have a password textbox and I have had problems with special characters like ',* and &. in the past.

I am wondering if that will be a problem in MSSQL server later on. should I prevent the user from entering them?

I also prefer to not re invent the wheel so if one know a good way of customizing the default registration page in webforms and MVC I am up for that too 

解决方案

Greetings,

Please check the below threads discussions related to password validation. Which might help you. And please post the query in appropriate forum for better assistance.

https://social.msdn.microsoft.com/Forums/en-US/6c085e98-3592-41c5-98b1-caaa0989f1a0/invalid-valid-characters-for-password?forum=whatforum

https://social.msdn.microsoft.com/Forums/en-US/49206fe8-5efb-4a19-90aa-f8b25d7b5b0b/password-validation-length-and-characters?forum=regexp

https://social.msdn.microsoft.com/Forums/en-US/53863859-2e1f-4854-bc6d-4bc97b7c23cd/how-to-validate-password-by-some-limitation-like-length-should-be-8-one-special-symbolalphanumeric?forum=wpf

Regards,


这篇关于有效的密码字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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