Designing Zero-Login Emergency Access: Row-Level Security and Server-Mediated Tokens

https://hackernoon.imgix.net/images/bDcrSw9zfSSuHnwbjOEwRxHJRAs2-4y83bns.png

Most access control starts with a question: who are you? The system authenticates a user, looks up their permissions, and decides what they may see.

There is a class of problem where that question cannot be asked.

A paramedic walks into an unfamiliar house. Someone is on the floor, unresponsive. The information that matters, what they take, what they are allergic to, what happened the last time this occurred, exists somewhere. In a care provider's system. In a GP record. In a folder in a drawer. The paramedic has no account on any of those systems, no time to request one, and no way to ask the person on the floor for consent.

The same shape appears elsewhere. A fire crew needs a building's hazard register. A substitute carer arrives at a house they have never visited. In each case the person who needs the data is legitimate, unknown to...

Copyright of this story solely belongs to hackernoon.com. To see the full text click HERE