changing the password complexity

In the beta 1, we had the option to change many password settings in the WSAT (web administration tool), like for instance allowing simple password (by default, the system requires 7 characters and 1 non alpha).
It’s not the case anymore : these settings must be changed manually in the application web.config file (there are defined in the global web.config)
 
In the following example, I allow simple password (minRequiredNonalphanumericCharacters="0" ) and password can be store in clea text in the db (don’t do this)
 
 <system.web>
  <membership>
   <providers>
   <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="true" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="true" passwordFormat="Clear" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression="" />
   </providers>
  </membership>
 
 
Advertisements

One response to “changing the password complexity

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s