Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Resolved] Password Length

Simple Membership Plugin › Forums › Simple Membership Plugin › Password Length

Tagged: advanced settings, password, Security

  • This topic has 10 replies, 4 voices, and was last updated 3 years ago by saratogacoach.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • December 10, 2022 at 7:56 pm #24882
    M.Engelsen
    Participant

    The advanced settings allow me to “Force Strong Password”. However, I would like the ability to set a minimum password length. Password must be at least 12 characters.

    December 11, 2022 at 1:34 am #24885
    The Assurer
    Moderator

    Increasing the password length past 12 characters will not make the site more secure; it will only frustrate members. Everything depends on the security of the WordPress installation and the admin user account password itself; not on the strength of non-admin membership user accounts.

    With that said… Because this is an open source product; I’m only offering enough information, so that an experienced programmer can make the changes you desire. Look in the classes/class.swpm-form.php file for the protected password member of the SwpmForm class. You can make your desired modifications there. Be aware that your modifications will be wiped out, the next time you update the plugin.

    December 11, 2022 at 2:36 am #24887
    M.Engelsen
    Participant

    @TheAssurer
    Respectfully, I do not agree with the statement that “Increasing the password length past 12 characters will not make the site more secure”.

    Longer passwords are proven to be SIGNIFICANTLY harder to exploit/crack compared to shorter passwords.
    https://www.hivesystems.io/blog/are-your-passwords-in-the-green

    However, security is a layer approach. If the WordPress site has vulnerable code, then it won’t matter if the user is protecting their account with an 8 or 28 character password.

    I’m simply stating that it would be awesome if Simple Membership could offer the ability to enforce a password complexity policy. More granular controls, compared to what currently exists. Such as, adding the ability to set a max password length.

    This new setting should be optional. Let the site administrator decide if they want to enable/disable this feature.

    December 11, 2022 at 2:48 am #24889
    M.Engelsen
    Participant

    Sorry. I meant to say “the ability to set a MINIMUM password length”. 🙂

    December 11, 2022 at 7:26 am #24890
    admin
    Keymaster

    I will add a new filter hook in the plugin that should allow the minimum password length to be overridden on some sites.

    December 11, 2022 at 3:43 pm #24892
    M.Engelsen
    Participant

    That would be awesome!

    December 19, 2022 at 3:44 am #24933
    M.Engelsen
    Participant

    @Admin
    I upgraded to v4.2.2 of the simple membership plugin. I don’t see any options (in the Advanced Settings tab) that would allow me to set a minimum password length. Does the password policy need to be set using a different WP plugin?

    December 19, 2022 at 11:15 pm #24944
    admin
    Keymaster

    I have added the filter hooks (required for this) in the core plugin. Next, I need to create a small addon that will allow the overriding to happen on sites that want to override it. It will be a few days before I can have that addon ready.

    December 25, 2022 at 9:48 pm #24973
    M.Engelsen
    Participant

    Great! Thanks for the update.

    December 28, 2022 at 9:44 am #24989
    admin
    Keymaster

    The following free extension should override the password length to a minimum of 12 characters long:

    https://simple-membership-plugin.com/simple-membership-minimum-password-length-override-addon/

    April 26, 2023 at 6:25 pm #26010
    saratogacoach
    Participant

    Hi Admin,

    This is a wonderful free extension to override the password length, making it 12 characters long.

    To strengthen password security I think that a user password would also benefit from adding a requirement for the standard group of allowed special characters (# $ @ etc.), plus a way to enforce it. (Not something I would know how to do, unfortunately.)

    I wondered, if possible, if you could modify the extension to add a special character requirement with enforcement, post it here for use? This would be a great help, making user data even more secure.

    Thank you again for this wonderful extension and your kind and generous help.

    Best Wishes,
    saratogacoach

  • Author
    Posts
Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy