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

推荐订阅源

N
News and Events Feed by Topic
WordPress大学
WordPress大学
Vercel News
Vercel News
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
小众软件
小众软件
L
LangChain Blog
雷峰网
雷峰网
D
DataBreaches.Net
博客园 - 三生石上(FineUI控件)
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
T
Tor Project blog
NISL@THU
NISL@THU
Scott Helme
Scott Helme
量子位
S
Security Affairs
T
Threat Research - Cisco Blogs
博客园_首页
云风的 BLOG
云风的 BLOG
D
Docker
AWS News Blog
AWS News Blog
腾讯CDC
博客园 - 聂微东
The GitHub Blog
The GitHub Blog
U
Unit 42
Recent Announcements
Recent Announcements
Apple Machine Learning Research
Apple Machine Learning Research
G
Google Developers Blog
T
The Exploit Database - CXSecurity.com
MongoDB | Blog
MongoDB | Blog
Stack Overflow Blog
Stack Overflow Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
L
LINUX DO - 热门话题
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
The Last Watchdog
The Last Watchdog
C
Cybersecurity and Infrastructure Security Agency CISA
IT之家
IT之家
W
WeLiveSecurity
P
Privacy & Cybersecurity Law Blog
F
Full Disclosure
L
Lohrmann on Cybersecurity
The Hacker News
The Hacker News
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Y
Y Combinator Blog
S
Security @ Cisco Blogs
C
Cyber Attacks, Cyber Crime and Cyber Security
C
Check Point Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
N
News and Events Feed by Topic
PCI Perspectives
PCI Perspectives
I
InfoQ

博客园 - 阿哟

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