System and method for storing data, in particular personal data

The system addresses the complexity of integrating applications with centralized data management by using a REST API and authentication module for secure, efficient, and compliant data access across SQL and non-SQL databases.

FR3147901A1Pending Publication Date: 2024-10-18F HOFFMANN LA ROCHE & CO AG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
FR2024003700
Authority / Receiving Office
FR · FR
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-12
Filing Date
2024-04-10
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

Existing data storage systems in the medical sector face challenges in managing sensitive personal data due to complex compliance with varying rules and laws, and integrating existing applications with centralized data management is technically complex, often requiring reimplementation.

Method used

A data storage system with an interface, authentication module, and data access module that manages data access centrally, allowing applications to query data through a REST API, with anonymization and authorization based on user roles, and supports both SQL and non-SQL databases for efficient and secure data access.

Benefits of technology

Enables seamless integration of existing applications with low migration costs, ensures secure and efficient data access, and maintains data privacy by anonymizing data based on user permissions, while supporting various database types.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

The invention relates to a data storage system, particularly for personal data, comprising: - an interface (105), in particular a REST API; - an authentication module (130); - at least one target database (30, 40) for data storage; - a data access module (110) designed to: a) receive requests from a client computer (10) via the interface; b) query data from at least one target database (30, 40) in response to the received request; c) determine whether the client computer and / or the user is authorized to perform the query; and d) generate a response data set to answer the request and transmit it to the client computer, at least some data in the response data set being anonymized if restricted authorization is determined. Figure for the abstract: Fig. 2
Need to check novelty before this filing date? Find Prior Art

Description

Title of the invention: System and method for storing data, in particular personal data

[0001] The invention relates to a data storage system, comprising an interface, an authentication module, at least one target database and at least one data access module. Furthermore, the invention relates to a method for storing corresponding data by means of a corresponding system.

[0002] In the medical sector, data storage is very problematic. The data in question is often personal and highly sensitive. At the same time, it is necessary for the corresponding data to be available for various groups of people and applications. Reliable data is required to accurately diagnose diseases and also to subsequently treat them successfully. The further development of medical algorithms also requires data availability, especially in the long term.

[0003] Complete systems are thus being developed in the healthcare sector to make relevant data, particularly personal data, available.

[0004] Managing such personal data is complex, as there are different rules and laws for processing such data. These rules and laws relate to the form of storage, its retention period and its use for different purposes.

[0005] Furthermore, connecting different applications to such data storage systems is complex. In many existing systems and applications, attempts have been made to implement the algorithms necessary for data protection compliance locally, i.e. in the respective application, but this approach is very complex. The most recent systems rely on centralized data management, in which the connection of existing applications is technically complex. In this case, it is often necessary to completely reimplement existing applications.

[0006] US patent 10,572,684 B2 describes a system in which personal data are stored in a distributed database, preferably in a blockchain. EP patent 1,226,524 A2 describes a system in which data can be shared between entities. With this system, it is also possible to release data for the healthcare system, the security of the data being guaranteed by means of appropriate encryption and certificates.

[0007] Patent EP 2 656 274 B1 describes a system for exchanging or making documents available. The system implements an access restriction which makes it possible to protect personal data.

[0008] Based on this prior art, the present invention aims to create an efficient and secure system for storing data. In particular, the system must allow existing applications to be easily and efficiently integrated.

[0009] The object is achieved by a system and method as described below.

[0010] In particular, the object is achieved by a data storage system, in particular personal data, which includes: - an interface, in particular a REST API; - an authentication module; - at least one target database for data storage; - a data access module, designed for (a) receive requests from a client computer through the interface; b) querying data from the at least one target database in response to the received query; (c) determine whether the client computer and / or user has permission to perform the query; and (d) generating a response dataset to respond to the request and transmitting it to the client computer, at least some data in the response dataset being anonymized if restricted authorization is determined.

[0011] One of the ideas of the present invention is to store the data in (central) target databases. The target databases have an upstream (central) data access module that manages access to the data. The authentication module regulates which application can access which data. Thanks to the invention, it is therefore no longer possible for applications to access the data directly. Instead, access must take place via the data access module, which receives requests, for example from client computers, via a preferably predetermined interface. The requested data can then be queried, at least in part from the target databases. As explained above, it is checked whether and to what extent there is authorization to access the queried or requested data.A corresponding access regulation can be based on users and / or roles and / or devices, in which individual applications can be assigned user accounts, as is customary in common operating systems. According to the invention, other known authentication concepts are also conceivable.

[0012] In order to respond to the request, the data access module is designed according to the invention to generate a response data set and to transmit it to the client computer, wherein the individual data elements in the response data set are anonymized. A corresponding anonymization can be carried out online - that is, at the time of querying - or offline - at a time before the query, for example during data collection or as part of a nighttime routine.

[0013] In one embodiment of the invention, the interface used to query and / or provide the data is a REST ("representational state transfer") based interface. A corresponding REST API can be implemented as a web service and allows requests to be processed efficiently.

[0014] In one embodiment, the system comprises a database driver, installed in particular on at least one client computer, which is configured to communicate with the interface. A corresponding database driver may be a JDBC driver. Very sophisticated database access modules exist on many existing operating systems. Many of these database access modules are based on ODBC. Thus, applications on the client computers do not directly access the data source, but use the installed ODBC drivers to implement the appropriate access. Compared to conventional ODBC drivers, REST APIs are relatively new. The invention envisages providing ODBC drivers, in particular JDBC drivers, which allow applications to communicate with the interface of the system according to the invention via these drivers.Their access to the system is therefore clearly structured and existing applications can communicate with the system by means of the ODBC driver or the JDBC driver. The cost of a migration is therefore extremely low, especially if we consider that the system according to the invention can behave like a classic target database despite the additional functionalities of the authentication and data access modules.

[0015] In one embodiment, the database access module includes a parsing unit that is configured to receive a string with an SQL expression and to extract field names from the SQL expression. The configurations can still be applied to the SQL query in the database access module.

[0016] It is possible to implement the database driver in such a way that it largely automatically translates an SQL query into a query that is passed to the interface. For example, in one embodiment, the SQL query is translated into a query that conforms to the REST standard. In one embodiment, a parsing unit is used for this purpose, which, for example, extracts table names and / or column names from the SQL expression or the ODBC query. This data can be used to create specific data queries via the interface. For example, a GET request can be sent via HTTP, table names and / or column names indicating the resource to be queried.

[0017] In one (other) embodiment, the SQL query is encapsulated as a character string in a REST request or REST call that is sent to the interface.

[0018] In one embodiment, the system comprises a database storing a plurality of roles and / or users, each of which roles / users are assigned permissions. It is possible to use the concept of authenticating individual target databases to enable the system, in particular the authentication module, to manage access. In a preferred embodiment, a (separate) database is used to manage roles and / or users across all target databases and to assign permissions to them.

[0019] The authentication module may be configured to assign at least one selection of queries received by means of the interface to at least one role or user of the database and, based on the assigned authorization, to determine which data is transmitted in response to the respective query by means of the interface.

[0020] In one embodiment, the authentication module may decide to completely deny a user or role access to certain data. In a(nother) embodiment, the permissions affect which target database and / or which subcomponents (e.g., tables and / or views) of a particular target database are queried. According to the invention, it is also possible to select at least one anonymization function, based on the permission, in order to anonymize specific data of a target (online) database.

[0021] In one embodiment, the system, in particular a configuration management module, is configured to generate and store target databases and / or views (e.g., views called SQL views) for different users and / or roles based on predetermined and / or assigned permissions. In one embodiment, there are multiple target databases and / or views for an initial data set, the individual target databases and / or views being different in that they are anonymized to different degrees. For example, a first view may output the data initially recorded by the configuration management module, while a second view shows only a portion of the initially recorded data, with data sets having been deleted and / or entries having been anonymized, for example.

[0022] Offline anonymization is therefore achieved in this embodiment, with the data possibly being duplicated or delivered differently based on different views. This approach has the advantage of being able to respond very efficiently to queries. It is also possible to record and therefore document the states and therefore the different degrees of anonymization of individual tables / views / fields.

[0023] As explained above, the system may be configured to select a target database from a plurality of target databases for queries on the interface, which database contains the data for responding to the query.

[0024] In one embodiment, the authentication module is designed to a) assign a role and / or a user to the request; b) determining whether the target database is a relational database; and c) if the target database is a relational database, using the role or user information to select one view from a plurality of views; d) use the selected view to answer the query.

[0025] The use of views has the advantage, at least as far as SQL databases are concerned, of not duplicating data ad libitum, while an efficient access concept can be implemented at the same time.

[0026] In one embodiment, the system, in particular the configuration management module, is designed to generate and store copies for different users and / or roles for a target (distributed) hash database, which is used as a target database, based on predetermined and / or assigned permissions. The copy hash databases created in this way can have different degrees of anonymization, comparable to the already explained SQL views or tables.

[0027] In one embodiment, there is a correlation between the different permissions and the different target hash databases. In one embodiment, there are correlations between the different roles and the copy hash databases. These are therefore role-specific copies.

[0028] A non-SQL-based database is referred to as a hash database for the purposes of the present invention. It may be a database that stores key-value pairs. The hash database may be a distributed database such as Amazon's DynamoDB®. Corresponding hash databases have high performance in terms of query response. This performance is not affected by the creation of the copies. System performance can be further improved by skillfully distributing the individual copies across different servers.

[0029] In one embodiment, the system is configured to select a target database from a plurality of target databases for queries on the interface, which database contains the data to respond to the query. In this context, the authentication module can also be designed to a) assign a role and / or a user to the query; b) determining whether the target database is a hash database; and c) if the target database is a hash database, using the role or user information to select a copy hash database from a plurality of copy hash databases to use to answer the query.

[0030] In one (preferred) embodiment, SQL databases and non-SQL databases, in particular hash databases, coexist in parallel. In this context, the anonymization of SQL databases is carried out using different approaches. For example, SQL databases can be anonymized by providing different views and non-SQL databases by duplicating individual data (cf. copy hash databases). The system knows at least these two anonymization approaches and, when responding to a query, determines which entity (view or copy) is to be used with the given authorization. Thus, despite the necessary anonymization, different database implementations can be used. In particular, the different database implementations can be adapted to the way in which the data can be stored and queried most efficiently.The necessary data protection can therefore be implemented independently of the specific implementation of the respective database. The specific technology used to implement the respective databases is not transparent for external access (via interfaces) in order to enable uniform access.

[0031] In one embodiment, the system comprises a data collection context module that is configured to store a data collection context for at least one selection of data sets on the at least one target database. The data collection context may be, for example, a time when the data was collected, a purpose of the data collection, a data retention period, a legal basis for the data collection, information about associated retention policies, etc. By determining the data collection context, it is possible to initiate different forms of anonymization based on this data. Partially or fully automated retention policies may also be implemented for individual data.For this purpose, the system, in particular the configuration management module, can be designed to select data based on the data collection context and to store the selected data in an anonymized form.

[0032] In one embodiment, at least a portion of the data of at least one target database is encrypted, the system being configured to receive a security token and, based on the security token, to determine whether the client computer issuing the query is authorized to communicate with the system and / or to receive the queried data. A key database may be provided for this purpose, the system being configured to use the key database to select a key that is used to decrypt the encrypted data, in particular of the at least one target database.

[0033] The system according to the invention can therefore also provide a key management function, whereby a client / user computer carrying out the query is authenticated and the system selects the keys for access to individual encryption data in the target databases according to its own authentication concept. By means of the driver described above and the system according to the invention, it is therefore also possible to implement an authentication system for older applications running on the client computers, which is implemented uniformly across all access requests.

[0034] The object mentioned at the beginning is also achieved by means of a method for responding to at least one query by means of a set of response data, the method comprising the following steps: (a) receiving at least one request via an interface, in particular a REST API; b) querying data from at least one target database in response to the received query; (c) determining whether the client computer and / or user has permission to perform the query; and (d) transmitting at least one response data set to respond to the query, wherein at least a portion of the data in the response data set is anonymized if restricted authorization is determined.

[0035] This method has advantages, as already explained in connection with the system. The method can be implemented on the system which has already been explained. The description of the system results in implicit method steps for the method according to the invention, which define it in more detail in different embodiments.

[0036] The object mentioned at the beginning is also achieved by means of a computer-readable memory containing instructions for implementing the above-mentioned method, in particular when the instructions are executed on at least one processing unit. The advantages here are also similar to those already described in connection with the system according to the invention.

[0037] Other advantageous embodiments are obtained from the dependent claims.

[0038] The invention is described below by means of several exemplary embodiments, which are explained in more detail with reference to the illustrations. In the figures: [Fig.l] shows a schematic representation of the system according to the invention, which is communicatively connected to a client computer via the Internet; [Fig.2] shows a detailed schematic illustration of the system according to the invention according to [Fig.l]; and [Fig.3] shows a schematic representation of differently anonymized data.

[0039] In the description below, the same reference numbers are used for parts that are identical and act in the same way.

[0040] [Fig.l] shows a client computer 10 that is communicatively connected to an exemplary embodiment of the system 100 according to the invention via the Internet 1. At the indicated level of abstraction, the system 100 comprises a relational database 30 and a hash database, for example an Amazon DynamoDB® database.

[0041] Different applications may be installed on the client computer 10, which generally communicates with a database via an ODBC interface. In the exemplary embodiment shown, a database driver 12 is provided, which allows the applications to communicate with a REST API 105 (see [Fig. 2]) of the system 100 via a JDBC driver.

[0042] [Fig. 2] shows the system 100, with certain software components being highlighted schematically. These software components include: Component Name Component Description Data Import Module Component responsible for supporting: - authentication of external data providers (e.g., hospital systems) - encryption of data provided by external data providers - reception and storage of data provided by external data providers Data Export Module Component responsible for supporting: - authentication of external systems to which data is made available - encryption of data made available to external systems, - provision of persistent data for external systems Data Flow Module Component that is responsible for: - execution of data flows between different data stores - support for the configurability of such data flows, if applicable - support for operational monitoring and management of such data flows This component manages data flows between the following data stores: - data stores used by the data import module - data stores used by the data export module - SQL database - hash database Data Access Module Component that implements data access and supports anonymization.This component accesses data by sequentially performing the same steps over and over again, according to one embodiment, taking into account the following: - the data collection context of the data access - the authentication, security, and data confidentiality configurations of the data access - the security logic to be applied to the data access - the data protection technology logic to be applied to the data access - the audit trails to be used for the data access - the physical data access operations for SQL and hash databases This component delegates much of its functionality to the appropriate modules through its defined endpoints. SQL Database Proxy (FRAPPiD-based applications SQL datastore proxy) Component that intercepts calls to the SQL database to route data access through the data access module logic. This component can create client-side dependencies (e.g., libraries, packages, modules) required for supported runtime environments (e.g., JVM, .NET, Python) and operating systems (e.g., Windows .dll, Linux .so, .a). Non-SQL Database Proxy (FRAPPi-based applications NoSQL datastore proxy) Component that intercepts calls to non-SQL databases to route data access through the data access module logic.This component can create client-side dependencies (e.g., libraries, packages, modules) required for supported runtime environments (e.g., JVM, .NET, Python) and operating systems (e.g., Windows .dll, Linux .so, .a). SQL Database (SQ L data store of FRAPPiD-based applications) Component that stores application data in one of the supported SQL data stores. Access to this component is almost exclusively through the Data Access Module. Hash Database Component that stores application data in one of the supported non-SQL data stores, such as a hash database. In one embodiment, access to this component is (almost) exclusively through the data access module.Context module of c Component that is responsible for providing: data collection - the data collection context - management TU to manage the data collection context data - the persistence of the data collection context information The legal basis for data collection may include, but is not limited to: - data attributes related to the consent of the data subject. - data attributes related to the data processing agreement concluded with the data controller - data attributes related to a legal obligation that requires the collection of data - data attributes related to the vital interests of the data subject - data attributes related to the public interest Configuration Management Module Component that is responsible for providing: - application configuration via the defined endpoints - UI for maintaining application configuration data - UI for maintaining application configuration data - persistence of application configuration data Authentication Module Component that is responsible for: - performing additional authentication with authentication factors (e.g., client certificates, one-time passwords, push notifications,confirmation emails, notification emails, security questions) - management, issuance, deployment, verification of these additional authentication factors Security Engineering Module Component that is responsible for providing: - the wrapper for supported encryption methods on defined endpoints - the wrapper for supported hashing methods on defined endpoints - the functionality to manage, provision and apply encryption keys - a set of APIs to make selected functions available to applications Audit Trail System Component that supports non-refutable protocol logging of data access including access to endpoints and SQL to various components along the data access path.

[0043] According to one aspect of the invention, the client computer 10 communicates with the data access module 110 via the REST API 105. The data access module represents a central component of the system 100 and essentially organizes the response to queries that are issued by the client computer 10. In the described exemplary embodiment, there are database connection modules or database proxies between the REST API 105 and the data access module 110. They can be used to forward queries to the data access module 110 in a manner specific to the target database (cf. the relational database 30 or the SQL database or the hash database 40).In the illustrated exemplary embodiment, the left module is a connection module to a specific SQL database 140 and the right component is a database connection module for non-SQL target databases.

[0044] [Fig. 2] shows by way of example that the data queries do not initially come from the client computer 10, but from the applications executed on it.

[0045] In one embodiment, the application is one that would typically communicate with a suitable target database via an ODBC interface. According to the invention, as explained previously, the client computer 10 has a database driver 12 that translates a submitted SQL query into a REST query. To do this, the addressed table name is parsed from the query and specific field information is resolved. Non-specific field information, such as a wildcard symbol ("*"), can also be translated into individual field names, as long as the target database is known. Thus, typical SQL conditions that are defined for a specific query (keyword: "WHERE") can also be translated.Essentially, the database driver 12 generates a REST query from the SQL query and sends this REST query to the system 100 via the interface 105. The query is processed there, among other things, by the data access module 110.

[0046] The data access module 110 selects a target database, in the example the relational database 30, for example on the basis of the data provided by the database connection module 140.

[0047] In one embodiment, the data access module 110 also determines to what extent the initial data or the partially anonymized data may be provided in response to the query. For example, a specific role within the system 100 may be assigned to the application making the query on the client computer 10 based on the credentials. This role may be associated with a particular relational database view 30.

[0048] [Fig. 3] shows two different views, namely a full database view 31 and an at least partially anonymized database view 32. For example, the tables or views shown may be patient data. While in the full database view 31 the name, exact date of birth and blood group are shown, the anonymized database view 32 contains only the year of birth and no information about the blood group besides the name. The blood group has simply been set to a zero value (“NULL”) to generate the anonymized database view 32.

[0049] After selecting one of these views, the appropriate data can be returned from the data access module 110 to the application on the client computer 10 via the REST API 105. In this regard, it is easily possible to provide data in a clearly structured and anonymized form.

[0050] The approach shown in [Fig.3] by means of different views has the advantage that the data sets only need to exist once in the relational database 30 and that the necessary anonymization functions are performed online when querying the data sets.

[0051] A significantly different approach can be used for non-SQL-based databases. Using the hash database 40 as an example, it is possible to create copies of an initial hash database and permanently overwrite certain values ​​therein. As such, depending on the assigned role, for a query addressed to the hash database 40, the data access module 110 will select the hash database associated with the user role of the application performing the query. This approach has the advantage of achieving high performance.

[0052] In the described exemplary embodiment, both approaches are pursued in parallel depending on the technical implementation of the respective target database. However, according to the invention, it is also conceivable to implement only one of these approaches in a system 100.

[0053] In one embodiment, the system 100 comprises a data collection context module 150. This data collection context module may be configured to collect data and store it in the target databases, for example in the relational database 30 or in the hash database 40. As part of this collection process, additional information identifying the data collection context may be stored. A separate database may be provided for this purpose. The contextual data or the data collection context may comprise: - a unique identifier of a data collection context - a data collection scope - a purpose of data collection - a data collection period - a legal basis for data collection - the applicable data protection compliance rules.

[0054] This contextual data can be used to determine the anonymization steps initially required for the stored data. In addition, the content of the target databases can be changed depending on the time sequence. For example, it is conceivable that certain data can only be retained for a certain period. In this regard, the system 100 according to the invention makes it possible to delete data depending on the context at a specific time. In addition, or alternatively, it can be provided that specific data can be made available to the general public or specific applications after a specified time. In this regard, it is absolutely not necessary that the degree of anonymization increases over time. Theoretically, scenarios are also conceivable in which there is less anonymization information at a later time.

[0055] The mechanisms described are also not limited to purely temporal information. For example, the context may indicate the purpose for which certain data was collected and thus have an influence on which access roles are authorized to query certain data.

[0056] Reference signs 1 Internet 10 Client computer 12 Database Driver 30 Relational Database 31 Full Database View 32 Anonymized Database View 40 Hash Database 100 System 105 REST API 110 Data Access Module 120 Configuration Management Module 130 Authentication Module 140 Database Connection Module 150 Data Collection Context Module

Claims

Claims

1. System for storing data, in particular personal data, comprising: - an interface (105), in particular a REST API; - an authentication module (130); - at least one target database (30, 40) for storing the data; - a data access module (110) which is designed to a) receive queries from a client computer (10) by means of the interface; b) query data from the at least one target database (30, 40) in response to the received query; c) determine whether the client computer and / or the user has authorization to perform the query; and d) generate a response data set to answer the query and transmit it to the client computer, at least some data of the response data set being anonymized if a restricted authorization is determined.

2. System according to claim 1, comprising: a database driver (12), installed in particular on at least one client computer (10), in particular a JDBC driver, which is configured to communicate with the interface (105).

3. System according to any one of the preceding claims, characterized in that the database driver (12) comprises a parsing unit, which is adapted to receive a character string with an SQL expression and to extract the field names from the SQL expression, in particular from the database tables, in order to create a query for transmission to the interface (105) using at least a selection of the field names and / or the database driver (12) is adapted to encapsulate the SQL expression in a REST query, for example as a character string, and deliver the query over the interface (105).

4. System according to any one of the preceding claims, characterized by: a database, which stores a plurality of roles and / or users, the roles and / or users being assigned respective authorizations, wherein the authentication module (130) is adapted to receive at least a selection of queries, which are received by means of the interface (105) for assigning at least one role or user from the database and, based on the assigned authorization, to determine which data is transmitted by means of the interface (105) in response to the respective query.

5. System according to any one of the preceding claims, characterized in that the system, in particular a configuration management module (120), is designed for different users and / or roles depending on predetermined and / or assigned authorizations, in particular for a relational target database (30, 40), to generate and store views (31, 32) for at least one target table, the view (31, 32) preferably being configured depending on the authorizations in such a way that the values of the target table are replaced by anonymized values.

6. A system according to any preceding claim, characterized in that the system is arranged to select a target database from a plurality of target databases (30, 40) for queries on the interface (105), which contains the data to answer the query, and / or the authentication module is arranged to a) assign a role and / or a user to the query; b) determine whether the target database is a relational database; and c) if the target database is a relational database (30), use the role or user information to select a view from a plurality of views (31, 32) to be used to answer the query.

7. System according to any one of the preceding claims, characterized in that the system, in particular a configuration management module (120), is designed for different users and / or roles according to predetermined and / or assigned authorizations for a database (distributed) target hash data, which is used as a target database, in particular for generating and storing role-specific copies in the form of a copy hash database, the copy hash database preferably being modified according to permissions, so that (selective) values in the target hash database are replaced by anonymized values.

8. A system according to any preceding claim, characterized in that the system is arranged to select a target database from a plurality of target databases (30, 40) for queries on the interface (105), which contains the data to answer the query, and / or the authentication module is arranged to a) assign a role and / or a user to the query; b) determine whether the target database is a hash database; and c) if the target database is a hash database, use the role or user information to select a copy hash database from a plurality of copy hash databases to be used to answer the query.

9. System according to any one of the preceding claims, characterized by: a data collection context module (150), which is adapted to store a data collection context for at least one selection of data sets on the at least one target database, e.g. a time of data collection, a purpose of data collection, a data retention period, a legal basis for data collection, details of associated retention policies.

10. System according to any one of the preceding claims, characterized in that the system, in particular a configuration management module (120), is adapted to select data depending on the data collection context and to store the selected data in an anonymized form.

11. A system according to any preceding claim, characterized in that at least some data of the at least one target database (30, 40) are encrypted, the system, in particular an authentication module (top right) being adapted to receive a security token and, based on the security token, determine whether the client computer (30) issuing the query is authorized to communicate with the system and / or to receive the queried data.

12. A system according to any preceding claim, characterized by: a key database, the system being adapted to use the key database to select a key which is used to decrypt the encrypted data, in particular of the at least one target database (30, 40).

13. A method for responding to at least one query by means of a response data set, using a system according to any one of the preceding claims, comprising the steps of: a) receiving at least one query via an interface (105), in particular a REST API; b) querying data from the at least one target database (30, 40) in response to the received query; and c) determining whether the client computer (10) and / or the user has authorization to perform the query; and d) transmitting at least one response data set to respond to the query, wherein at least some data in the response data set is anonymized if restricted authorization is determined.

14. A computer-readable memory containing instructions for implementing the method of claim 13) when the instructions are executed on at least one processing unit.