You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 14, 2017. It is now read-only.
Peter Mbanugo edited this page Sep 2, 2014
·
3 revisions
MR(MembershipReboot) allows for easy configuration of password complexity rules. This is used to enforce the strength of the password and will help in resisting password guessing and brute-force attacks. To do this you use the ConfigurePasswordComplexity() method of MembershipRebootConfiguration class, and set the minimum length and the complexity rule e.g:
varconfig=newMembershipRebootConfiguration();config.ConfigurePasswordComplexity(minimumLength:7,minimumNumberOfComplexityRules:3);//using an IoC container(Ninject)kernel.Bind<MembershipRebootConfiguration>().ToConstant(config);
The complexity rule will require; one upper, one lower, one digit or one other(e.g @, #), and is set using the minimumNumberOfComplexityRules parameter.