# Password policy

> The password rules an EduBase instance can enforce, from length and character classes to history and lockout, and how passwords are changed or reset.

EduBase checks every new password against a password policy: a minimum length, the kinds of characters it must contain, and whether it may repeat earlier passwords. Repeated failed sign-ins can lock an account for a while. The policy is set per EduBase instance, so a dedicated instance can match your organization's security rules.

## Rules a policy can contain

| Rule | Effect |
|---|---|
| Minimum length | The password needs at least this many characters. |
| Character classes | It must mix a number of the four classes: lowercase letters, uppercase letters, digits and other characters. |
| Minimum per class | At least a given number of lowercase letters, uppercase letters, digits or special characters. |
| No username | The password may not contain the username. |
| History | The password may not be one of the last few passwords of the account. |
| Lockout | After a number of failed sign-ins, the account is locked for a set time. Optionally, a lost-password request is required to unlock it. |

Any rule can be switched off. On the shared EduBase cloud, one policy applies to all accounts; on a dedicated or on-premise instance (Business plan), the policy is set to your requirements together with the EduBase team.

## Change your own password

Each user changes their password in their account settings, with the current password and the new one, which must meet the policy. Users who forgot their password request a new one from the sign-in page; a blocked account cannot request one ("You cannot request new password for a blocked account.").

Accounts that sign in through single sign-on or LDAP use the password of the company account instead; see [SSO, LDAP, social sign-in and two-factor authentication](https://help.edubase.net/organization/sign-in/).

## Reset passwords for others

Organization managers with the right permissions can issue a full password reset for a member, which also clears a lockout, and can require a member to change their password at the next sign-in.

## Limits

- The policy is per instance, not per organization, on the shared cloud.
- Passwords are stored as hashes; nobody, including EduBase, can read them.

## Related

- [SSO, LDAP, social sign-in and two-factor authentication](https://help.edubase.net/organization/sign-in/)
- [Security overview](https://help.edubase.net/platform/security/)
- Account, password, two-factor and notifications
