Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS

Password Policy


Reply

4 Posts   823 Views

Avatar
Rodolfo

3 June 2011 at 11:53am Community Member, 11 Posts

Is there any way to enforce password policies in SilverStripe?

Avatar
Willr

6 June 2011 at 3:47pm Forum Moderator, 5511 Posts

I assume you mean like minimum length, special characters must be used, must change password each month sort of thing? Nothing in the core for this is the short answer but you could quite easily write your own authenticator subclass (http://api.silverstripe.org/2.4/sapphire/security/Authenticator.html) to check for what rules you want.

Avatar
ajshort

6 June 2011 at 5:51pm Community Member, 244 Posts

Actually there is support in the core via the PasswordValidator class - see http://api.silverstripe.org/2.4/sapphire/security/PasswordValidator.html.

Avatar
Rodolfo

14 June 2011 at 9:04am Community Member, 11 Posts

Thank you for the reply.

This requirement has been pushed out but I'll post my findings as soon as I get back to it.

Thanks once again,