Password Complexity #42
DavidRieman
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In addition to fixing the currently-broken password change command (#43), we may as well make sure that just using "password" with no arguments and/or "help password" has information about password complexity requirements, if we have any in place.
@duaneking adds:
Modern systems generally have more password complexity requirements than the MUDs of old. We should probably support these modern expectations out-of-the-box, while also making it easy to replace the password requirements without having to modify the Core code. There are a couple ways that come to mind we could accomplish this, that work with the systems we are building now:
For example, suppose we didn't support a Password Rotation system out of the box (maybe because we weren't comfortable security-wise with also storing the history of salted hashed passwords for the users). An admin who wanted to add the rotation system would add a new class (or drop one in as shared from another MUD admin) into their game-specific project. Regardless of how (above), it would keep track of salted hashed PWs for each User with its own storage area, that it could read and compare to reject a PW change request with a message like "Your password cannot be one you have already used in the past" or whatnot. Having a forced rotation after X days would involve another API to ask the modules if a PW change is required, I guess. Which might be another point in favor of the MEF approach.
Or, maybe this is all overkill, and we should just have some basic options out of the box (configuring which options you want to enforce for minimum PW complexity via app.config), and require Core modifications if you want to change or improve on that (like adding forced rotations).
Thoughts or other options?
Beta Was this translation helpful? Give feedback.
All reactions