惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hacker News: Front Page
P
Palo Alto Networks Blog
T
ThreatConnect
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
T
True Tiger Recordings
P
Privacy & Cybersecurity Law Blog
B
Blog
IT之家
IT之家
Last Week in AI
Last Week in AI
F
Full Disclosure
Hacker News: Ask HN
Hacker News: Ask HN
C
Comments on: Blog
Microsoft Azure Blog
Microsoft Azure Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
N
News and Events Feed by Topic
NISL@THU
NISL@THU
腾讯CDC
雷峰网
雷峰网
Security Latest
Security Latest
李成银的技术随笔
M
Microsoft Research Blog - Microsoft Research
L
LangChain Blog
L
Lohrmann on Cybersecurity
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
C
Check Point Blog
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
博客园 - Franky
N
News | PayPal Newsroom
V
V2EX
A
About on SuperTechFans
The Register - Security
The Register - Security
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google Online Security Blog
Google Online Security Blog
MyScale Blog
MyScale Blog
Cisco Talos Blog
Cisco Talos Blog
Vercel News
Vercel News
WordPress大学
WordPress大学
C
Cyber Attacks, Cyber Crime and Cyber Security
The Hacker News
The Hacker News
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
爱范儿
爱范儿
A
Arctic Wolf
L
LINUX DO - 最新话题
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

博客园 - 阿哟

Ajax文章收藏(整理中) JavaScript文章收藏(整理中) Web2.0资料收集 Asp.net几个开源项目文章收集 DreamWeaver文章收藏 网站设计网页收藏 DNN文章收藏 Scott Mitchell ASP.NET 2.0三层架构(资料收集) NHIBERNATE资料收集 Html Tidy Asp.net文章收藏 Adrotator绑定数据库 DataSource常用网页收藏 GridView网页地址收藏 [JavaScript]常用语句 [Html]页面加入框架 你的成功在于你每天养成的习惯 .net常用代码 (收藏) eclipse 快捷键介绍
Asp.net 中的Strong Password
阿哟 · 2006-07-23 · via 博客园 - 阿哟

(去年写的随笔)

忙了半天,一直被一个小问题卡住。今天的小问题是 ------ 我使用 Asp.net 2.0 中的服务器端控件(就是登陆控件之类)中的 CreateUserWizard 控件添加新用户,但是一直运行不成功。控件一直都是说: Please enter a different password. 。到底是什么原因呢?最后才找到原因。 The reason is that the application requires “Strong” passwords. 何为 Strong passwords 呢?

Strong passwords 字母包括:

UPPER CASE LETTERS

lower case letters

Numbers

Special Symbols (!@#$% etc)

Strong paswords 是指:

1.       At least 8 characters

2.       At least one uppercase and one lowercase letter (好像是 Or

3.       At least one non-alphabetic character

运用这些规则之后,就可以很顺利添加新用户。但是另外又有一个问题出现,这些规则的确加强了安全性 , 但是现在大部分人不习惯在自己的密码上有 @#$% 之类的符号 . 可以在 Web.config 中加入 settting:

       < membership defaultProvider = "AspNetSqlProvider">

           < providers >

               < add name = "AspNetSqlProvider"

                  type = "System.Web.Security.SqlMembershipProvider"

                  connectionStringName = "LocalSqlServer"

                   requiresQuestionAndAnswer = "false"  requiresUniqueEmail="true"  passwordFormat="Hashed"

                    minRequiredNonalphanumericCharacters = "0"  minRequiredPasswordLength="3"/>

           </ providers >

        </ membership >

这样就 就可以不用Strong Password了 .