Wednesday 29 August 2018

Password related configuration in Sitecore CMS?

As a Sitecore Admin, I wanted to bound the Sitecore member users by

Creating/Updating their login password
 
    By password required as minimum length
    By how many minimum invalid passwords can attempt
    By how many minimum alphanumeric characters required
sitecore-password-configuration

A big thanks to Sitecore that we can easily manage all the configs and changes by some few steps. And with the help of this, we can utilize Sitecore features in the more meaningful way.


So first of all these changes are supposed to be done by Sitecore Admin.
Below are the steps that can be followed while configuring.

Goto Sitecore's web.config which is placed under ~/website/web.config


sitecore-password-settings


<membership defaultProvider="sitecore" hashAlgorithmType="SHA1">
      <providers>
        <clear />
       ...
        <add name="sql" type="System.Web.Security.SqlMembershipProvider" connectionStringName="core" applicationName="sitecore"
minRequiredPasswordLength="1" 
minRequiredNonalphanumericCharacters="0" 
requiresQuestionAndAnswer="false" 
requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" />
        ...
      </providers>

    </membership>