HAPI FHIR security hardening

HAPI FHIR gives you building blocks for security, not a finished security layer. This page covers the decisions, build sequence, effort drivers and checks that turn a default server into one you can defend to a security review.

On this page

Why HAPI FHIR security hardening starts with the default settings

HAPI FHIR security hardening means replacing the embedded H2 default database, securing transport with TLS, restricting operations and the testing UI, enabling audit logging with BALP, and separating data so that one tenant, region or source cannot see another's records. A team that has a HAPI FHIR server running for health data and needs to pass a security review or go-live should start by listing every setting it inherited from the default install, because the defaults were chosen to get a server running quickly, not to protect patient information.

The starting point is the database. The JPA server starter defaults to an embedded H2 database, and the starter documentation names PostgreSQL and Microsoft SQL Server as the supported choices for production. Confirm the database version and driver you intend to run against the starter's current documentation, and check which settings in your deployment still point at the embedded database. Note also that HAPI FHIR does not provide a single security layer. It offers building blocks such as authentication interceptors, the AuthorizationInterceptor, consent and search narrowing interceptors, CORS support and BALP audit logging, and it is up to your team to choose, configure and combine them.

That means the hardening work is an assembly and verification job, not a switch you turn on. Each building block needs an owner, a configuration decision and a test that shows it behaves as your design says it should, including the cases where a request should be refused. Expect the review to ask for evidence that the controls work in the deployed environment, so keep a record of the configuration as it was set and what you tested. None of these building blocks guarantees compliance or security on its own, and the combination only holds if the gaps between them are closed and checked. Start with an inventory of what the server exposes today, then work through the controls in the order your review will ask about them.

Which HAPI FHIR components carry the security controls

Hardening a HAPI FHIR server is spread across the starter, the database, the container, the TLS edge and several interceptors. HAPI FHIR does not ship one security layer, so each component below controls one part of the picture and leaves the rest to you.

JPA server starter and embedded H2

The JPA server starter is the packaged server most teams begin with, and it defaults to an embedded H2 database. H2 is suitable for trying the server out but is not a production store, so replacing it is the first hardening decision. The starter also ships a testing UI that must be restricted or removed in production. Check the starter's configuration for every exposed endpoint, not only the FHIR base path. The starter does not decide who may read or write data.

Starter repository

Production database: PostgreSQL or SQL Server

The database holds every FHIR resource, index and audit-relevant record, so its access controls, encryption, backups and network placement become part of the server's security posture. The starter supports PostgreSQL and Microsoft SQL Server for production and does not support MySQL. The database does not enforce FHIR access rules. Confirm the database account the server uses has only the privileges the schema needs.

Servlet container or Spring Boot runtime

The server runs inside Tomcat, Jetty, Wildfly or Spring Boot, depending on how you package it. The container controls thread limits, request size, default error pages, and which management endpoints are reachable. Review the container's own administration interfaces and disable any that are not needed. The container does not know which FHIR resources a user may see.

TLS termination point

Transport encryption must cover every client path to the server. Decide whether TLS terminates at the container, a load balancer or an ingress controller, and whether traffic between that point and the server is encrypted too. Terminating TLS upstream moves trust to that component, so its certificate handling and logging need the same review. TLS does not authenticate users or limit what they can read.

AuthorizationInterceptor

The AuthorizationInterceptor is the HAPI FHIR building block for rules about which operations and resource types a caller may use. You write the rules, so their correctness depends on your review and testing. Check rules for create, update, delete, search and operations such as bulk export, since a rule that covers only reads leaves other paths open. It does not authenticate callers on its own, so it must sit behind an identity check.

Security docs

Consent and search narrowing interceptors

Consent and search narrowing interceptors limit which resources a permitted caller sees, which matters when one server holds records for several patient groups or organizations. Narrowing is applied to searches, so test that a broad query cannot return data outside the caller's scope through includes, references or history. These interceptors do not replace the authorization rules that decide whether the call is allowed at all.

CORS settings

CORS controls which browser origins may call the server from JavaScript. Set the allowed origins explicitly to the applications that need them, and avoid wildcard origins on a server that holds health data. CORS is enforced by browsers, so it does not stop direct API calls from other tools. Confirm that credentials and allowed methods match what each client actually uses.

BALP audit logging

BALP, the Basic Audit Log Pattern, records who accessed which FHIR resources and when, which supports the access review your compliance team will ask for. Decide where the audit records are stored, who can read them, and how long they are kept. Confirm that failed access attempts are logged along with successful ones. Audit logging records activity but does not prevent it.

Partitioning for data separation

Partitioning places each resource in a partition, which can separate tenants, data sources or regions. It is a data-organization feature that needs authorization rules to enforce separation, so a caller must be restricted to the partitions they are entitled to. Plan the partition scheme before loading data, because moving resources later is a migration task. Partitioning does not encrypt data or manage identities.

Partitioning docs

How a request crosses the trust boundaries of a hardened server

A client request starts at the network edge, where TLS terminates and the identity provider issues a token. It then enters the servlet container, where the HAPI FHIR interceptors run authentication, authorization, consent and audit in order. Only requests that pass these checks reach the JPA layer, which resolves the partition before reading from the production database. Each audit event is written to a separate log store, so the team should confirm that the log store sits outside the application's write path and that the partition assignment matches the access rules in the authorization interceptor.

Trust boundaries and the audit path for a request to a hardened HAPI FHIR server.

Which database, TLS and access decisions to make before you harden

This table compares the main choices you face before hardening a HAPI FHIR server: database, TLS termination, the testing UI, authentication placement, and whether audit logging and partitioning start on day one. Read each row for when the option fits and what it costs your team to run, and treat the choice of production database as the one that is hardest to reverse later.

DecisionOptionWhen it fitsOperational cost
Production databasePostgreSQLTeams with existing PostgreSQL operations skills and a preference for open-source database toolingYour team owns backups, patching, tuning and schema upgrades for the database; confirm supported versions with the HAPI FHIR documentation
Production databaseMicrosoft SQL ServerOrganizations already standardized on SQL Server licensing, backup and monitoringLicensing and DBA effort; confirm the supported version list before choosing
Production databaseEmbedded H2 (default)Local evaluation and development onlyNot a production option; migrating data off H2 later adds effort, so plan the move before go-live
TLS termination pointReverse proxy or load balancerShared perimeter already managed by platform or network teamsCertificate rotation happens outside the FHIR server; confirm that internal traffic is also encrypted if required
TLS termination pointIngress on KubernetesClusters where the platform team already manages ingress controllers and certificatesDepends on ingress and certificate tooling; confirm who owns renewals and secret storage
TLS termination pointContainer or application serverSmall deployments with few moving partsThe server holds certificates directly, so rotation and key handling land on the application team
Testing UIRemoved from production imageAny production or shared environment holding real patient dataLow ongoing cost; keep a separate non-production instance for testing
Testing UIRestricted by network or authenticationTeams that need occasional administrative access from a controlled networkRequires access rules to be maintained and reviewed as the network changes
Authentication interceptor placementIn front of the identity provider via a gatewayOrganizations that want one identity control point across several APIsGateway configuration and token validation logic to maintain; more components to monitor
Authentication interceptor placementInside the FHIR server via interceptorsTeams that want authorization rules close to the resource dataCustom Java code and interceptor regression testing with each upgrade
Audit logging (BALP) from day oneEnabled before go-liveRegulated environments where access evidence will be requested earlyHigher log volume and storage; someone must review and retain the logs
Audit logging (BALP) from day oneDeferred to a later phasePilot systems with no production patient dataRetrofitting audit coverage later means reviewing what was accessed without a complete record
Partitioning from day oneEnabled with a planned partition modelMultitenancy, separate data sources or regional grouping is known in advancePartition design affects data placement and queries; changing it later is costly
Partitioning from day oneNot enabledA single data set with a clear, single-tenant scopeAdding partitions to an existing data set later needs a planned migration; confirm the approach in the partitioning documentation

How to harden a HAPI FHIR server in build order

This sequence moves a HAPI FHIR server from a default test setup to one with a production database, encrypted transport, enforced access control, reduced attack surface, audit trails and, where needed, separated data. Each step ends with a check you can run and record before the next step begins.

  1. Move off the embedded H2 database

    The JPA server starter defaults to an embedded H2 database, which is suited to evaluation rather than clinical data. Your platform or database team provisions PostgreSQL or Microsoft SQL Server, since those are the production options the starter supports (MySQL is not). Configure the datasource in the application configuration, then confirm the schema is created in the target database and that the server still reads and writes resources after a restart. Confirm the exact datasource and schema setup keys against the HAPI FHIR JPA server documentation for your version, and set database backup and access controls before loading any patient data.

  2. Terminate TLS and force HTTPS

    Your infrastructure or security team configures TLS at the load balancer, reverse proxy or the application container, using certificates issued by your own certificate authority. Redirect plain HTTP to HTTPS and confirm that the server's base URL in responses uses https, since links in FHIR bundles depend on it. Done when an external scan or a test request over plain HTTP fails or redirects, and a client's connection shows a valid certificate chain and an approved TLS version. Confirm the protocol and cipher settings with your security standard, not the defaults of this sequence.

  3. Put authentication in front of the server

    HAPI FHIR does not ship a single security layer, so authentication is added through its building blocks, typically an authentication interceptor that validates tokens from your identity provider. Your application team wires the interceptor to the identity provider's token validation and decides which endpoints, including metadata, stay public. The check is a request with no token returning an unauthorized response, and a request with a valid token from a test account succeeding. Record both results in your test evidence. The detailed integration pattern is covered in the authentication and authorization topic.

  4. Add AuthorizationInterceptor rules

    Authentication only proves who is calling. The AuthorizationInterceptor decides what each identity may read, write, search or delete, so your application team writes rules per role, resource type and, where needed, compartment. Start from deny by default and add allowances that match your clinical and operational roles. The check is a test matrix covering each role against each resource operation, where any unexpected allow is treated as a defect. Keep the matrix under version control, because it will be rerun after every upgrade and every custom interceptor change.

  5. Disable or restrict the testing UI and unneeded operations

    The starter ships with a testing user interface and a set of FHIR operations that are useful during build but expand the attack surface in production. Your team turns off the testing UI in the production configuration and reviews the enabled operations, extended operations and admin endpoints, keeping only those your integrations require. Restrict any remaining administrative functions to a network segment or an admin role. The check is an unauthenticated or non-admin request to each disabled path returning a refusal, with the results listed in a configuration review record. Confirm the relevant configuration switches in the documentation for your version.

  6. Restrict CORS to known origins

    Browser-based applications need cross-origin access, but a wildcard origin lets any website call your server with a user's credentials. Your application team lists only the origins of approved front ends and disallows wildcard origins in production. The check is a preflight request from an approved origin succeeding and a request from an unlisted origin being rejected, both recorded in your test evidence. If no browser client needs cross-origin access, the expected result is that no origin is allowed.

  7. Enable BALP audit logging

    BALP is the Basic Audit Log Patterns approach that HAPI FHIR supports for recording access to health data. Your application team enables the audit interceptor, decides which events are recorded and sends the output to a log store that the security team can query and that retention rules cover. The check is a read of a test patient resource producing an audit record that names the user, the resource and the time, and that the record reaches the central log store. Confirm the interceptor setup against the security documentation for your version before relying on it.

  8. Set up partitions if data must be separated

    If different tenants, regions or data sources must be kept apart, HAPI FHIR JPA partitioning assigns each resource to a partition. Your architecture team decides the partition scheme from data governance requirements before any data is loaded, since changing it later means moving data. The check is a test read from one partition returning no resources that belong to another, with the result recorded for review. If your data does not need separation, record that decision and skip this step.

What drives the effort of a HAPI FHIR security hardening project

This table compares the factors that expand or shrink a HAPI FHIR hardening project, from consuming applications and identity providers to partitions and custom interceptors. Read each row as a lever: the middle column explains why it adds work, and the right column shows how to keep it contained before scoping starts.

DriverWhy it changes effortHow to keep it down
Consuming applications and user populationsEach application needs its own client identity, scopes and test cases, and each user population adds search and read paths that must be checked for leakage.Inventory applications before scoping, group them by access pattern, and onboard new ones through a single documented pattern.
Identity providers and rolesEvery identity provider adds token validation, claim mapping and failure modes, and inconsistent role names multiply the AuthorizationInterceptor rules.Standardize on one identity provider where possible and define a short, fixed role catalogue that maps to rules.
Authorization rule complexityRules across resource types, compartments and consent decisions interact, so each added exception needs positive and negative tests.Limit exposed resource types to those the use cases need and prefer compartment-level rules over per-resource exceptions.
Number of environmentsDevelopment, test, staging and production each need their own identity settings, database, TLS configuration and evidence of the same controls.Keep configuration in version-controlled templates with environment-specific values only, so one change set applies everywhere.
Data volumeHigher volume increases audit log storage, backup size and restore testing time, and it affects how long BALP records are retained.Confirm retention periods with compliance owners early, and size the audit store and backup schedule from the expected transaction rate.
Number of partitions or tenantsEach partition adds its own access rules, test data and verification that resources stay in the right partition.Use a single partition model agreed up front, and avoid creating partitions for cases that a role or search rule can handle.
Custom interceptorsCustom code in the request path must be regression tested after every HAPI FHIR upgrade, and it is often the least documented part of the server.Keep custom interceptors few and small, document their behavior, and automate their tests in the build pipeline.
Compliance frameworksEach framework that the evidence must map to adds control mapping, evidence collection and review cycles, and auditors may ask different questions.Agree the framework list at scoping and map each control once to shared evidence, instead of building separate packs per framework.

How hardening differs for single node, high availability, Kubernetes and air-gapped deployments

A single node runs the HAPI FHIR JPA server on one virtual machine or under Docker Compose, usually with the hapiproject/hapi image or a WAR on Tomcat, Jetty or Wildfly. It is the simplest model to reason about, but every control lands on one host, so the team must handle TLS, secrets and logging directly on that machine.

  • TLS termination: Often handled by a reverse proxy on the same host in front of the server. Confirm who holds the certificate, how it renews, and that the server is not reachable on its plain HTTP port from outside.
  • Secrets: Database credentials and keys commonly sit in environment variables or files in the Compose project. Restrict file permissions and keep these files out of version control.
  • Database connection: Replace the embedded H2 default with PostgreSQL or Microsoft SQL Server, since the starter does not support MySQL for production. Confirm backups and restore tests cover that database.
  • Audit log shipping: Logs stay on the host unless you forward them. Confirm where BALP audit records and access logs are written, how long they are kept, and who can read them.

Confirm that the host itself is patched, that administrative access is logged, and that no port other than the intended HTTPS endpoint is exposed.

Access control, secrets and data controls to hardening scope

HAPI FHIR ships building blocks, not a complete security layer, so each control below is a decision your team must make and verify. Together they decide who can reach the server, what each caller can read and write, how credentials and certificates are kept, and how patient data stays separated.

Identity provider integration

HAPI FHIR has no built-in identity layer, so authentication sits in front of the server through interceptors that validate tokens from your identity provider. The failure to prevent is an endpoint that accepts unauthenticated requests or trusts tokens it never validated. Confirm which identity provider issues tokens, how signing keys are rotated, which token lifetimes apply, and how revoked staff or service accounts lose access.

HAPI security docs

Default-deny authorization rules

The AuthorizationInterceptor decides which resource types, operations and compartments each caller may use. The failure to prevent is a rule set that allows everything once authentication passes, or a missed operation such as bulk export or history that bypasses the intended rules. Confirm that unmatched requests are denied, that every operation is covered by a test, and that custom interceptors are reviewed whenever the FHIR version or profiles change.

Consent and search narrowing

Authorization by resource type is often too coarse for patient data. Consent and search narrowing interceptors limit what a caller can find, so a search for patients returns only the records that caller is permitted to see. The failure to prevent is a search that leaks records through a broad query, a count, or an included resource. Confirm which relationships define access, how consent changes are applied, and whether search parameters that expose existence of records are restricted.

Testing UI and operations exposure

Demonstration consoles and administrative operations are useful during build and dangerous in production. The failure to prevent is an unauthenticated testing interface or administrative endpoint reachable from outside the network. Confirm that the testing UI is disabled or restricted in production builds, that operations such as resource deletion and reindexing require administrative roles, and that these paths are excluded from public routing and load balancer rules.

CORS origin allowlists

Cross-origin settings let browser applications call the server from other domains. The failure to prevent is a wildcard origin policy that lets any website make authenticated requests on behalf of a logged-in user. Confirm the exact origins that need access, the methods and headers they may use, and whether credentials are permitted. Review the list whenever a new front-end application is added.

Database credentials and secret storage

The server needs database credentials, and production deployments commonly use PostgreSQL or Microsoft SQL Server rather than the embedded H2 default. The failure to prevent is a database password stored in a configuration file, container image or repository, or shared accounts with broad schema rights. Confirm that secrets come from a managed store, that the application account has only the privileges it needs, that rotation is scheduled, and that the embedded H2 database is not used with patient data.

TLS certificate lifecycle

All FHIR traffic carrying health data should travel over TLS, and the certificate must be issued, deployed, renewed and retired on a known process. The failure to prevent is an expired certificate that causes an outage, or a weak protocol configuration that exposes data in transit. Confirm who owns renewal, how certificates reach load balancers and the application, which protocol versions and cipher suites your policy allows, and how a compromised certificate is replaced.

Partition-based data separation

HAPI FHIR JPA partitioning places each resource in a partition, which can separate tenants, data sources or regions. The failure to prevent is data from one organization or region appearing in another's results because a partition was not enforced on every request path. Confirm which partitions map to which tenants, how partition assignment is enforced in authorization rules, and whether tests cover cross-partition searches and reads.

Partitioning docs

How to test that HAPI FHIR security controls work and fail safely

Verification starts with negative tests that must fail, because a hardened FHIR server is only as good as the requests it refuses. Run each of these against a staging copy with the same interceptors, database and network path as production: an unauthenticated read and an unauthenticated write, a valid token issued for a role that should not reach a given resource type, a token scoped to one partition used to read another, a request carrying an origin that is not on the CORS allow list, a request to the testing UI and to restricted operations such as bulk export or administrative endpoints, and a plain HTTP request to the TLS endpoint. Each should return a refusal, and the refusal should come from the control you configured, not from a generic server error. Confirm this by reading the server log for each request, since a 500 that happens to block the call is a failure, not a pass.

Next, run positive tests that must pass for every permitted role. A clinician role should read and write the resources it is meant to handle, a read-only reporting role should search but not write, and a partition-bound integration account should work only inside its own partition. Positive tests catch the more common mistake, an interceptor rule so broad or so narrow that legitimate workflows break and teams quietly add workarounds. Keep a matrix of role, resource type, operation and partition, and record the expected result for each cell before you test. Ask your team or your partner to show where that matrix is kept and who approves changes to it.

Check the audit trail for both allowed and denied access. BALP audit records should show the denied attempts from the negative tests as well as the successful reads from the positive tests, with the correct identity and partition on each event. Then confirm that error responses do not expose sensitive detail: stack traces, database messages, internal hostnames or resource contents should not appear in responses to unauthenticated or unauthorized callers. Make these checks part of the release gate and repeat the full suite after every HAPI FHIR upgrade, every change to an interceptor or its rules, and every change to the database or proxy layer, because each of these can silently reopen a path that the previous run had closed.

What to monitor, back up, upgrade and document after hardening

Hardening is not finished at go-live. The controls you configure for the database, TLS, audit logging and partitions all need routine checks, rotation and evidence collection. The cards below cover the recurring work that keeps a HAPI FHIR server defensible for health data over time.

Monitor audit completeness and denials

Confirm that BALP audit events are written for every create, read, update and search you expect, and that the log store is not silently dropping entries. Watch for patterns in failed authorization: repeated denials from one client, access to resources outside a partition, or searches that return unusually large result sets. Set the alert thresholds and retention periods for your own environment with your compliance and security teams, since the right values depend on your policy and the regulations that apply to you.

HAPI FHIR security docs

Back up and verify restores

The production database holds every FHIR resource, audit-relevant configuration and partition data, so it is the primary recovery point. Take scheduled backups of the PostgreSQL or SQL Server instance you chose, and store them encrypted and separately from the application host. A backup only counts once a restore has been tested into a non-production environment, with the server started and a sample of resources read back and compared. Record the restore time you actually achieved and agree it with the business owners.

Rotate TLS certificates and credentials

Track expiry dates for the TLS certificate on the server and any reverse proxy or load balancer in front of it. Rotate database credentials and any client secrets used by authentication interceptors on a schedule, and check that the JPA server picks up new values without exposing them in logs or container images. Test each rotation in a staging environment first, because a failed certificate change can take the server offline for every client.

Plan upgrades and retest interceptors

Read the release notes before each upgrade and confirm the Java runtime still matches the version you run. HAPI FHIR 8.2.0 requires JDK 17, and newer releases may move that floor, so check the versions page before you plan. Upgrades can change database schema and can change how interceptors behave, so rerun your AuthorizationInterceptor rules, consent checks, search narrowing and partition tests against the new build before promoting it. Keep the previous image available for rollback.

HAPI FHIR versions

Document the control inventory

Keep a current inventory of every security control, including TLS settings, database choice, operations locked down, the testing UI status, BALP configuration and authentication interceptors. Record the partition model, which resource types and tenants sit in which partitions, and how the roles in your identity provider map to FHIR access rules. Note where each piece of evidence lives, such as log locations, backup reports and change records, so auditors or assessors can find it without a long search.

Review role mapping and partitions

Access rules drift as people change roles and new tenants or regions are added. Review periodically who holds each role, whether the partition assignments still match your data separation design, and whether any resources were created in an unintended partition. Confirm this review process, its owner and its frequency with your governance team, since the cadence depends on your own access management policy.

HAPI FHIR partitioning docs

Questions teams ask before hardening HAPI FHIR security

Can our team harden a HAPI FHIR server without outside help?

Yes, if your team has Java and JPA operations experience, access to your database and identity provider, and time to test changes against a staging copy. HAPI FHIR does not ship a complete security layer, so the work is assembling building blocks: replacing the default database, enabling TLS, restricting operations, configuring authentication and authorization interceptors, and turning on audit logging. The hard parts are less the configuration itself than proving each control works and keeping it working across upgrades. A partner can help with the same tasks, or with the testing and evidence that show the controls behave as intended. Most teams do a mix, keeping day-to-day ownership in house.

What drives the cost of HAPI FHIR security hardening?

Cost follows the number of controls in scope and how much custom interceptor logic they require. The main drivers are the target database, the authentication design, the number of resource types and search patterns that need access rules, whether you need partition-based separation, how many environments must match, and how much audit evidence your compliance team expects. Costs are one-time for design and build, then recurring for upgrades, regression testing of custom interceptors and periodic review. When requesting a quote, ask for the written scope, the list of controls and environments, the deliverables (configuration, test results, runbooks, evidence), what the retest covers, and which costs are one-time versus ongoing.

How long does HAPI FHIR security hardening take?

Duration depends on the same factors that drive scope: how many controls you need, how complex your access rules are, how many environments must be brought to the same standard, and how quickly your identity provider, database administrators and compliance contacts can respond. Work moves faster when the target architecture and data classification are settled before build starts, and slower when access rules must be discovered during testing. Ask a provider to show the phases, the dependencies on your teams, and the points where your sign-off is required. Treat any single duration offered before a scoping discussion as a placeholder until the written scope exists.

What does the work need from our team?

Plan for access and decisions from several groups before work starts. The most common needs are:

  • Identity provider access, including test clients, metadata and the ability to issue tokens in non-production environments
  • Non-production environments that match production closely enough to test TLS, network paths and database behavior
  • Database administration for provisioning PostgreSQL or Microsoft SQL Server, backup configuration and privilege review
  • Compliance and privacy contacts who define which data is in scope and what evidence they need
  • Application owners who can confirm which clients and users need which resource access
Is HAPI FHIR secure out of the box?

No. HAPI FHIR states that it does not provide a single one-size-fits-all security layer. Its documentation describes building blocks instead, including authentication interceptors, the AuthorizationInterceptor, consent and search narrowing interceptors, CORS support and BALP audit logging. The JPA server starter also defaults to an embedded H2 database, which is not a production choice, and the server includes a testing UI that must be restricted or disabled in production. Your team must choose which building blocks to use, configure them for your data, and verify that unauthorized requests are refused. Confirm current defaults against the security documentation for the version you deploy.

Does hardening HAPI FHIR satisfy a compliance framework?

No. Hardening prepares controls, configuration records and evidence that a compliance program can use, but it does not make a system compliant on its own. Independent auditors and certification bodies assess the controls and issue any reports or certifications. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. Before work starts, ask your compliance lead which framework applies, which controls map to it, and what evidence the assessor will request. That list then becomes part of the written scope.

How DeployOpen scopes, builds and hands over HAPI FHIR hardening

DeployOpen hardens HAPI FHIR inside the client's own infrastructure, starting from a written scope that names the controls, the environments and the evidence to be produced. Because HAPI FHIR provides building blocks rather than a single security layer, the work is planned around the client's data, identity and compliance requirements, then tested and documented for review by the client's own security and compliance teams.

How we scope

  • Agree in writing which hardening areas are in scope: database, TLS, operations, testing UI, audit logging and partitioning.
  • Confirm the target environments, such as cloud accounts, data centers or air-gapped networks, and who operates them.
  • Record the FHIR versions, server deployment method and identity provider the hardened server must work with.

How we build

  • Move the JPA server from the embedded H2 default to a supported production database, configured and tested in the client's environment.
  • Configure TLS, lock down operation and testing UI access, and enable BALP audit logging against the agreed requirements.
  • Test access controls, partition boundaries and audit records, and document every configuration decision for review.

How we hand over

  • Deliver configuration, runbooks and test results that the client's team can reproduce without DeployOpen present.
  • Provide a findings report with fixes and a retest, so open issues are visible before handover is accepted.
  • Walk the client's operations and security staff through the controls and the evidence that supports each one.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after the fixed-scope engagement ends.
  • Retest hardened settings when HAPI FHIR, the Java runtime or the database is upgraded in the client's environment.
  • Confirm with the client which compliance evidence DeployOpen prepares, since independent auditors issue any audit reports or certifications.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.