Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

Password policy (NO repeated or serial characters)

$
0
0

-Combination of alpha, numeric and special characters (DONE)

-Minimim 9 characters long and can't match previous password (DONE)

-No repeated or serial characters (e.g. aaa111 or abcd4567) : This one needs to implement

*******************************

I tried different ways but unable to get it working. I would like to use Regex. Please suggest!

This is what I have now:

<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="SqlServerSpExec" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" applicationName="Aspen" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="9" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" 
             passwordStrengthRegularExpression="(?=.{9,})(?=.*[a-zA-Z])(?=(.*\d){1,})(?=(.*\W){1,})"/>


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>