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   869 Views

Avatar
Rodolfo

Community Member, 11 Posts

3 June 2011 at 11:53am

Is there any way to enforce password policies in SilverStripe?

Avatar
Willr

Forum Moderator, 5513 Posts

6 June 2011 at 3:47pm

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

Community Member, 244 Posts

6 June 2011 at 5:51pm

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

Avatar
Rodolfo

Community Member, 11 Posts

14 June 2011 at 9:04am

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,