Security: how Digital ID is protected
This page describes what the software itself does. It is a description, not a certification: an organisation should still read its own risk assessment, and ask us anything not covered here. It has not yet had an independent security review.
Signing in
- A new person is sent an emailed link that works once. A link asked for later lasts fifteen minutes and also works once. Links are stored only as scrambled forms. Where an organisation joins Digital ID to Care Core, people can sign in through Care Core instead.
- Where a password is used, it is stored only as a one-way scrambled form, never as text.
- Optional two-step sign-in with an authenticator app, with one-off recovery codes stored only as scrambled forms. An administrator can ask for it from everyone. It also applies to emailed links, so a link cannot get around it.
- Repeated attempts to sign in or to check a card are slowed down.
- A new sign-in always starts a new session, so a session cannot be carried over from before.
- When Care Core says someone has left, their login and cards stop working at once.
Who can see what
- People see only their own organisation. Every page and every request checks that what is asked for belongs to the signed-in person's organisation, not only the menu. A set of tests tries to reach another organisation's staff, cards, photographs and settings on every page and API, and has to be refused every time.
- Photographs, signatures and logos are never public. They are shown only to signed-in people in the same organisation, or through a link that is made when a card is checked and stops working after ten minutes. A photograph waiting for approval is never shown through such a link.
- A card that is checked shows only the person's name, reference, organisation, approved photograph and how it was checked.
The data
- Pictures are saved again by the server when uploaded, which removes hidden details such as where they were taken.
- The keys that connect other systems, and the two-step setup secret, are sealed with AES-256-GCM before they are stored.
- Forms are protected against forged requests, and every database request uses prepared statements.
- The browser is told to use HTTPS only, and the pages are not allowed to be shown inside other sites. Digital ID still uses some scripts written into its pages, so its content security policy does not yet forbid them.
- It does not keep a tamper-evident trail of changes. It does keep the history of every card check, and the time and device each was made from.
- A backup script writes the whole database, with a checksum, and the uploaded photographs; a second script restores a backup into a spare database and checks it. In the installation we host, a backup is made every night and a locked copy is kept away from the server.
- An organisation can take everything held for it, with its photographs, in one file.
What the organisation does
Give each person only the role they need, end access when people leave (or connect Care Core so it happens for you), turn on two-step sign-in for administrators at least, if it runs the software itself keep backups off the server and try restoring one, and agree retention with its data protection officer. To report a security problem, email hello@findcarescotland.com.