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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Password Policy


Go to End


4 Posts   1984 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, 5523 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,