PC Review


Reply
Thread Tools Rate Thread

Changing the password setting

 
 
King Coffee
Guest
Posts: n/a
 
      13th Mar 2008
Hi,

I'm using the wizard login control in ASP.NET 2.0. The default password is 7
characters minimum and an minimum 1 non-alphanumeric character. Why can I
change these setting?

King


 
Reply With Quote
 
 
 
 
Eliyahu Goldin
Guest
Posts: n/a
 
      13th Mar 2008
You can. Do this in web.config:

<membership>
<providers>
<!--
This removes the default membership provider as defined
in the machine.config and
adds the same one but this time with more relaxed
password format and questions settings.
-->
<remove name="AspNetSqlMembershipProvider"/>
<add name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider,
System.Web, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="LocalSqlServer"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="false"
applicationName="/"
requiresUniqueEmail="false"
passwordFormat="Hashed"
maxInvalidPasswordAttempts="5"
minRequiredPasswordLength="1"
minRequiredNonalphanumericCharacters="0"
passwordAttemptWindow="10"
passwordStrengthRegularExpression="" />
</providers>
</membership>




--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net


"King Coffee" <(E-Mail Removed)> wrote in message
news:E774FAED-7CC1-430B-8BDB-(E-Mail Removed)...
> Hi,
>
> I'm using the wizard login control in ASP.NET 2.0. The default password is
> 7 characters minimum and an minimum 1 non-alphanumeric character. Why can
> I change these setting?
>
> King
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing a users password without knowing the old password nor the answer to the password question AAaron123 Microsoft ASP .NET 2 16th Jan 2009 02:08 PM
Registry Policy Setting - Problem Changing Setting JenniferS30 Microsoft Word Document Management 1 14th Jan 2008 08:20 PM
Password issue after changing Language setting =?Utf-8?B?bm9raWU=?= Windows XP General 1 28th Feb 2006 08:31 PM
Changing (not setting) a user password trough LDAP Paul Boven Microsoft Windows 2000 Active Directory 0 23rd Aug 2004 02:15 PM
SMS Changing XP Local Policy Password Setting Tim Windows XP Security 1 20th Nov 2003 09:57 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:06 AM.