What is a good way to share encrypted files between users of a web platform?
Allow me to first sketch what I’m trying to achieve;
In my web platform, users should be able to create secured files and give certain other users the ability to read these files in case of an emergency (incapacitated, deceased, etc). In such a case the other user starts a process where the incapacitated user is informed and has a certain time period to prevent access (in case of misuse), after which the other user gains access to the file.
Requirements;