Re: How to Set minRequiredNonalphanumericCharacters="0"?
- From: Dominick Baier [DevelopMentor] <dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 31 Jan 2006 17:22:58 +0000 (UTC)
Hi,
according to the source code - you can set minReqNonAlphaChars to 0 - it defaults to 1 if the value is missing.
It is maybe the regex - wouldn't setting minRequiredPasswordLength to 6 also do it?
--------------------------------------- Dominick Baier - DevelopMentor http://www.leastprivilege.com
I am trying to set up an ASP.NET 2.0 application using the Membership API with SQL Server 2005 to not require non-alphanumeric characters in the password. I have set minRequiredNonalphanumericCharacters="0" and the passwordStrengthRegularExpression="\w{6-12}" in the web.config. The password I enter is "w99hthr" and it fails. When I remove these two attributes and use the password, "w!99hthr" it works. My users will strongly resist using passwords requiring non-alphanumeric characters. Many of them are naive.
.
- Prev by Date: Validating Create User Wizard
- Next by Date: Re: using md5 but want sha-1
- Previous by thread: Validating Create User Wizard
- Next by thread: Re: using md5 but want sha-1
- Index(es):