Now that we are no longer giving a choice about accounts, we need to be sure that users are not signing in with emails that have shared access.
For example, if a user associates an account with headteacher@
, and then they leave their job, the next headteacher could use that email address to see the person’s details. Equally, emails like office@
often go to shared inboxes.
We can block commonly used shared email addresses.
Common shared email addresses
If a user enters an email address with any of the following patterns, we will prevent them from continuing and ask them for another email address.
When we build this, we should use data to create a more exhaustive list.
Exact match
- headteacher@
- head.teacher@
- head@
- ht@
- principal@
- headofschool@
- headmistress@
- info@
- office@
- office1@
- reception@
- secretary@
- admin@
- admin1@
- admin2@
- administration@
- adminoffice@
- schooloffice@
- schoolmanager@
- enquiries@
- enquiry@
- generalenquiries@
- post@
- pa@
- headspa@
- headteacherpa@
- contact@
- school@
- academy@
- bursar@
- finance@
- hr@
- secretary@
- businessmanager@
- deputy@
- deputyhead@
- exechead@
- ceo@
- cfo@
- coo@
Wildcards
We might also want to use wildcards, but we will need to check that we do not get false positives. For example, an admin
wildcard would stop a valid email address like james.badminton@
.
A starting list of wildcards might be:
- headteacher
- office
- enquiries
- contact
- info
- school
Error message
The error message will be:
Enter a personal email address, not a shared one
Besides the input we will also give an example:
For example, jane.doe@school.gov.uk