Web implementation of a security mediator for medical databases

Gio Wiederhold, Michel Bilello, Chris DonahueIFIP 1998 · OpenAlex

Introduction

In the late 1990s, the healthcare industry faced a significant challenge: the burgeoning Internet offered immense opportunities for data sharing in research and public health, yet it simultaneously increased the risk of sensitive data exposure. Traditional security mechanisms, such as firewalls and encryption, primarily focused on identity verification—determining who is accessing the system—but lacked the granularity to control what specific data was being viewed. Medical databases, optimized for internal clinical use, often contain identifying information alongside research data. To bridge this gap, the Trusted Information Health Information (TIHI) project proposed a "security mediator" to enforce institutional privacy policies in real-time.

System Architecture

The TIHI Security Mediator acts as an intelligent gateway between external "customers" and sensitive source databases. Unlike a standard firewall, the mediator understands the context of the data and the identity of the user.

High-level architecture of the TIHI Security Mediator system.

As shown in Figure 1, the architecture separates the "Source Databases" (containing patient demographics, medical history, and billing data) from the "Mediator Databases" (which store user credentials, security rules, and audit trails). The Security Mediator processes all interactions between the Customer and the data sources, while a Security Officer oversees the system's policy management and audit reviews.

Operational Methodology

The system's core logic is built upon a four-layer software stack comprising HTML front-ends, Perl CGI scripts for logic management, C routines for rule execution, and SQL functions for database interaction. Central to its operation is a tripartite rule-set:

  1. Setup Rules: These govern authentication and environmental constraints, such as restricting access based on time of day or user role.
  2. Query Rules: These inspect incoming SQL queries to ensure users are only joining authorized tables or accessing permitted columns.
  3. Result Rules: This critical post-processing step inspects the actual data returned by the database. For example, a "Check Dictionary" rule can scrub sensitive terms from text fields before they reach the user.
Detailed logic flow and processing sequence within the Security Mediator.

Figure 2 details the 17-step processing sequence. When a user logs in, the Login Processor retrieves setup rules from the mediator database. If passed, the Query Processor handles the user's request, checking it against pre-defined query rules. Finally, the Results Processor applies post-rules to the data before generating the final result screen. Every step is recorded by the Audit Trail Manager to ensure accountability.

Key Insights

A primary innovation of the TIHI project is the emphasis on Results Checking. The authors argue that because database schemas are often complex and inconsistent, query-level filtering alone is insufficient to prevent leaks. By filtering the output, the mediator provides a final layer of defense that catches what a query parser might miss.

Furthermore, the system utilizes a "Clique" System, where users are grouped by role (e.g., researchers vs. billing clerks). Each clique is presented with a tailored interface; for instance, a researcher might have broad SQL access subject to heavy result scrubbing, while a billing clerk is restricted to a simple form-based interface for specific patient IDs.

To ensure flexibility, the system includes a Human-in-the-Loop component. Queries that violate automated rules are not simply blocked but are sent to a Review Queue. A Security Officer can manually review, edit, and approve these requests, ensuring that rigid automation does not hinder legitimate research. This process also feeds into Audit-Driven Evolution, where recurring manual approvals signal a need to refine and relax automated rules to improve system efficiency.

Results and Future Work

The prototype successfully demonstrated that a web-based mediator could provide granular access control, shifting the focus from database administration to institutional policy management. While effective, the initial implementation faced performance limitations due to its 1998-era CGI/Perl architecture. Future work suggested migrating to Java to improve scalability and responsiveness, as well as developing a "rule compiler" to allow for more dynamic policy creation by non-technical security officers.

Summary updated

BibTeX
@inproceedings{wiederhold1998web,
  author = {Gio Wiederhold and Michel Bilello and Chris Donahue},
  title = {{Web implementation of a security mediator for medical databases}},
  booktitle = {IFIP},
  year = {1998},
  doi = {10.1007/978-0-387-35285-5\_4},
}
Figure