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

推荐订阅源

月光博客
月光博客
T
Troy Hunt's Blog
P
Proofpoint News Feed
H
Help Net Security
博客园 - 叶小钗
N
Netflix TechBlog - Medium
F
Full Disclosure
Vercel News
Vercel News
C
Cyber Attacks, Cyber Crime and Cyber Security
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
GbyAI
GbyAI
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 【当耐特】
Martin Fowler
Martin Fowler
V
V2EX
Latest news
Latest news
L
LangChain Blog
The Register - Security
The Register - Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
S
Schneier on Security
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
N
News and Events Feed by Topic
M
MIT News - Artificial intelligence
Hacker News - Newest:
Hacker News - Newest: "LLM"
T
The Exploit Database - CXSecurity.com
Microsoft Security Blog
Microsoft Security Blog
S
Secure Thoughts
A
About on SuperTechFans
人人都是产品经理
人人都是产品经理
T
The Blog of Author Tim Ferriss
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Spread Privacy
Spread Privacy
S
Securelist
Forbes - Security
Forbes - Security
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Last Week in AI
Last Week in AI
T
Threat Research - Cisco Blogs
V
Vulnerabilities – Threatpost
MyScale Blog
MyScale Blog
G
Google Developers Blog
L
Lohrmann on Cybersecurity
博客园 - Franky
T
Tor Project blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
V
Visual Studio Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Google DeepMind News
Google DeepMind News
F
Fortinet All Blogs
Y
Y Combinator Blog

博客园 - 阿哟

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了 .