My situation:
The medical staff wants to enter patient confidential data into a web browser (!) In order to save it in a database and then restore it again.
This data cannot be seen by anyone other than the medical staff. This means that it must be encrypted using a secret token before being transferred to the server. It also means that neither IT staff (having access to the server / database) nor anyone else can decrypt it without a secret token. (If the token is lost, the data will never be available again.)
No additional software should be installed on the client machine, except for some token (for example, a private key), which one will export once and import it into all browsers from which access to the data should be provided.
So my question is:
Is there a way to encrypt / decrypt data on the client side (for example, using JavaScript) using a secret browser token that can be easily exchanged between browsers (i.e. export / import, similar to X.509 certificates)?
If not, what alternative solutions are possible? Since conditions 1 and 2 are mandatory, only condition 3 can be changed if necessary. However, as little installation effort as possible is necessary on the client side.
EDIT: SSL is obviously only part of the answer to this question!
Thomas
source share