Multitenant DICOM access in Orthanc with labels

Orthanc's multitenant DICOM plugin starts extra DICOM servers, each with its own AET and TCP port, that expose only the resources carrying their labels. Here is how to plan it, pair it with REST access control and verify it.

On this page

Multitenant DICOM access in Orthanc with labels: when one archive must serve several tenants

The multitenant DICOM plugin starts additional DICOM servers inside Orthanc, each with its own AET and TCP port, and each supports C-FIND, C-MOVE and C-STORE while exposing only the resources that carry its configured labels. The plugin has been part of the Orthanc source distribution since 1.12.0, and it governs DICOM visibility, so REST access needs its own controls. This pattern suits a hospital group, imaging provider or research unit that wants several departments or customers to share one Orthanc database while each sees only its own studies. In this section, a tenant is one such department or customer, a label is a marker on a study that records which tenant may see it, an AET (application entity title) is the name a DICOM peer uses to address a server, and a port is the TCP port that server listens on.

Treat the plugin as the DICOM boundary and plan the REST boundary separately. Each tenant server returns only studies carrying that tenant's labels, but the main Orthanc REST API and any other REST-based interface can reach everything in the database unless you restrict them. Remote access requires AuthenticationEnabled set to true, with users defined in RegisteredUsers, and HTTPS in front of Orthanc is advisable for any Internet exposure. For per-user rules that depend on labels, the advanced authorization plugin forwards each request's token to an external service that returns HTTP 403 when access is denied. Agree this split with your security team before go-live, because a tenant that can read the REST API may see data its DICOM server hides.

Before you configure tenants, decide who assigns labels and when. Labels can be applied at ingest by a script or set through the REST API on existing studies, and you must decide what happens to unlabeled studies, which no tenant server will return. Then test each tenant AET with a DICOM client: run C-FIND, and a C-MOVE to a destination you control, and confirm that studies belonging to other tenants never appear. Confirm the plugin's exact configuration keys and the Orthanc version in your build against the plugin documentation before you write the configuration. Document each tenant's AET and port, because the peers that query or store to that tenant will address it by those values.

How labels, AETs and ports separate what each tenant sees

The diagram starts on the left with tenant modalities and PACS, which reach Orthanc through their own multitenant DICOM server, each with a separate AET and TCP port. Each multitenant server exposes only the resources that carry its configured labels, and all servers read from the same shared database. The main DICOM server sits in the Orthanc core and has its own AET and port. The REST API is a separate boundary with its own authentication, and an external authorization service can decide each request. Check that every tenant's AET, port and label set match the intended scope, and that the REST path is not open to DICOM tenants.

Tenant DICOM servers filter by label, and REST access has its own boundary.

Configuration choices and when each one fits

This table compares the DICOM-side and REST-side settings you choose for each tenant, and the team or customer model each one suits. Read each row against your tenant count and admin model, then confirm key names and versions on the sample page before you configure anything. The main takeaway is that DICOM separation depends on unique AETs, ports and consistent labels, while REST access depends on how users are authenticated.

OptionWhat it controlsWhen it fits
Per-server DICOM identityEach extra server gets its own AET and TCP port and shows only resources carrying its configured labels.Several departments run by one admin team, where a shared label scheme is manageable.
Operations per serverEach server can offer C-FIND, C-MOVE and C-STORE. Enable only what each tenant's modalities and PACS need, and confirm the per-server switches in your version.Retrieval-only access for a customer that pulls studies, or store-only for a modality that sends them.
AET and port collisionsEach AET and port must differ from the main server and from other tenants. Every modality or PACS must be reconfigured with the new AET and port.Applies to every design. Check the modality side first when a tenant reports that studies never arrive or cannot be retrieved.
Label-scoped views in one databaseTenants share one Orthanc database, so separation depends on consistent labels applied when studies arrive.A few departments under one admin team, where the same people control both the labels and the server.
REST access with built-in usersRegisteredUsers defines the accounts. With RemoteAccessAllowed enabled, AuthenticationEnabled should be true.A small, stable set of accounts managed by one admin team. Add HTTPS and a reverse proxy before any Internet exposure.
Advanced authorization pluginForwards each REST request's token to an external service that allows or denies it, returning HTTP 403 when denied.Many customers needing one central policy. The reference project uses Keycloak-issued tokens with Orthanc Explorer 2.
Stronger tenant separationSeparate Orthanc instances per tenant, each with its own database and storage, isolate tenants more strictly than labels in one database.Tenants with contractual or regulatory isolation needs. Confirm the design with your assessor and your own threat model.

Labels, separate instances or external authorization: choosing the isolation model

These four models differ in which layer enforces the boundary between tenants and which resources stay shared. They run from the lightest to the heaviest to operate, so decide for each tenant which storage, logs, backups and index must stay apart before choosing one.

Shared database with labels

The multitenant DICOM plugin, part of the Orthanc source distribution since 1.12.0, starts extra DICOM servers, each with its own AET and TCP port. Each server supports C-FIND, C-MOVE and C-STORE and exposes only resources carrying its configured labels. Everything else stays shared: one Orthanc process, one index, one storage area, one set of administrators, and one log and backup stream. Confirm how labels are assigned on ingest and how REST users see them, because the label filter is only as strict as the labels themselves.

Multitenant DICOM docs

Separate instances over a shared database

Each tenant gets its own Orthanc process with its own configuration, AET, ports and REST endpoint, while all instances read and write one PostgreSQL or MySQL database. Since Orthanc 1.9.2 with plugins 4.0, multiple instances can share that database for scaling and availability, but this does not by itself separate tenants. The index, the database and its backups stay shared, so anyone with database access can see every tenant. Effort is higher: each instance needs its own deployment, and upgrades must be coordinated across all of them.

Scalability FAQ

REST-only separation for web users

With RemoteAccessAllowed enabled, AuthenticationEnabled must be true and each web user is defined under RegisteredUsers, so REST calls are tied to named accounts. The docs also recommend HTTPS and a reverse proxy for any Internet exposure. These accounts do not restrict DICOM traffic, so C-FIND, C-MOVE and C-STORE still need their own limits through AET and modality rules. Keep the /tools/execute-script and export routes disabled, as the security FAQ warns they can run commands or overwrite files. Effort is low, but every user change is a configuration change you must track.

Security FAQ

External per-request authorization

The advanced authorization plugin forwards each REST request's token to an external web service, which allows or denies the request and returns HTTP 403 when access is denied. Access rules then live outside Orthanc and can be based on tokens from your identity provider. Orthanc still stores and serves all data, so the authorization service must be correct for every route you expose. The orthanc-auth-service reference project uses Keycloak-issued tokens with Orthanc Explorer 2. Effort is highest: you build, run and test the service and its identity integration, and confirm which DICOM paths it covers.

Authorization plugin docs

Setting up multitenant DICOM access in Orthanc step by step

This sequence sets up several tenants on one Orthanc server, each with its own DICOM endpoint that exposes only the studies carrying its labels. The steps run from confirming the plugin version through label planning, endpoint configuration, and DICOM and REST testing. It produces a tested tenant table, a verified isolation result for each tenant, and a list of the firewall and network change requests the work needs.

  1. Confirm the Orthanc version and plugin

    Start by checking that your Orthanc build includes the multitenant DICOM plugin, which has been part of the Orthanc source distribution since 1.12.0. The platform owner should confirm the running version on the server and record it in the change ticket. Then read the sample multitenant DICOM server page once, from start to finish, and note the configuration keys it uses so that later steps refer to the same names. This step is done when the version is recorded and the configuration keys are listed for the team.

  2. Plan the tenant list and label scheme

    Write down every department or customer that will receive its own DICOM endpoint, along with the studies each one is allowed to see. Define a label naming convention that is stable, readable, and never reused for a different tenant. Decide in advance how a study that belongs to more than one tenant will be handled, and have the people who approve data access sign off the list before any configuration changes. This step is done when the plan is a reviewed table with one row per tenant and one label per row.

  3. Assign labels to incoming studies

    Make sure every incoming study receives the labels its tenant needs before that tenant can be served. Confirm on the sample page and in a test environment which method your Orthanc version supports for applying labels, whether through the REST API, scripting, or another mechanism in your routing setup. Send test studies from each source modality and check the result. This step is done when a test study from each source shows the expected labels and no test study is left unlabeled.

  4. Define AET, port and labels per tenant

    For each tenant, record one AET, one TCP port, and one label set, then review the whole table for collisions before changing any server. Two tenants should not share an AET or a port on the same host, and an overlapping label would expose studies to the wrong party, so check both during the review. Confirm that each AET matches what the modality or PACS already uses or plans to use, and that each port is free on the host. This step is done when the table has no duplicate AET or port, no overlapping labels, and a port list the network owner has reviewed.

  5. Configure tenant endpoints and verify C-ECHO

    Configure each modality or PACS with its tenant's AET and port, pointing at the Orthanc host, and set the matching values in the Orthanc configuration. This step needs a firewall or network change request, because each new TCP port must be opened between the modality or PACS and the Orthanc host, and the request should list every port from the step 4 table. Run C-ECHO from each tenant's system to its endpoint. This step is done when every C-ECHO succeeds with the expected AET and port, and any failed echo is traced before the next step begins.

  6. Test C-FIND and C-MOVE isolation

    From each tenant's system, run C-FIND and then C-MOVE against its endpoint and record which studies come back. A tenant should see only studies carrying its labels, and studies belonging to another tenant should not appear in results or move. C-MOVE requires the destination to be a reachable DICOM node, so if the destination sits on a different network segment, this step also needs a firewall or network change request for the return path. This step is done when the results match the step 2 plan for every tenant, and any study visible across tenants is treated as a blocking defect.

  7. Verify REST access matches the plan

    The multitenant DICOM plugin does not control REST access, so test it separately. Authenticate to the REST API as each tenant's user and call the same study listing endpoints to confirm that results match the plan. Confirm that authentication is enabled, that users and their credentials are defined in the configuration, and that unauthenticated requests are refused. If the REST API is reachable beyond the Orthanc host, that path needs HTTPS, a reverse proxy, and its own change request. This step is done when each tenant's REST results match its DICOM results and no tenant credential returns studies outside its labels.

Onboarding a new tenant without exposing existing ones

Onboarding a tenant starts with the label decision, and the rule to hold is that existing tenants keep the same view. Each new tenant needs its own labels, applied to studies as they are stored, so the label scheme must be agreed before any new modality sends data. The harder question is whether existing studies are relabelled. Relabelling an archive can pull old studies into the new tenant's view or remove them from an earlier tenant's view, so do not relabel existing studies by default. If a historical set must move to the new tenant, record that as a separate decision with the data owner's written approval and test it as part of the change. Put the label map, the ingest rule that applies it and the reason for each decision into the change request before work begins.

Next, add the new server entry. The multitenant DICOM plugin documentation describes additional DICOM servers, each with its own AET and TCP port, that support C-FIND, C-MOVE and C-STORE and expose only resources carrying that server's configured labels. Give the new server a port that no existing entry uses, and open that port in the firewall only for the new tenant's modality and PACS addresses. Leave existing ports and rules untouched, and record the owner and review date of the new rule. Coordination matters here: the modality and PACS owners at the new tenant must update their own settings to the new AET, host and port. Agree the cut-over with them in advance, because a firewall rule opened before their settings are ready, or settings changed before the rule is open, will both produce failed associations.

Security boundaries to test before a tenant goes live

Label scoping only protects a tenant if every path to the data respects it. The cards below cover the REST API, remote access, risky routes, TLS, logs and backups, and the authorization plugin. Test negative cases with each tenant's credentials: run the requests that should fail, and treat every unexpected success as a finding.

Confirm REST label scoping

Label scoping limits what the multitenant DICOM servers return over C-FIND, C-MOVE and C-STORE, but the REST API is a separate path. Assume the REST API does not apply the same label scoping until you have tested it. For each tenant, call the REST endpoints that list, search and retrieve studies using that tenant's credentials. Confirm that resources without the tenant's labels never appear in responses, counts or download links.

Keep remote REST access controlled

Orthanc accepts HTTP connections only from localhost unless RemoteAccessAllowed is enabled. Before you enable it for a tenant portal or integration, set AuthenticationEnabled to true and list every user in RegisteredUsers. The security FAQ recommends HTTPS and a reverse proxy for any Internet exposure. Check that anonymous requests are refused, and that the proxy does not forward administrative routes that tenants should never reach.

Security FAQ

Keep script and export routes off

The security FAQ warns that the /tools/execute-script route lets a malicious user run any system command, and that the export route can overwrite files. Both routes should stay disabled for every tenant, including administrators who call the REST API from a shared network. Check the effective configuration on each instance after upgrades and after any change to reverse proxy rules. Confirm that every tenant credential you test is refused on both routes.

Encrypt inter-site DICOM with TLS

Orthanc supports DICOM TLS for inter-site exchanges starting with version 1.9.0. Each extra AET and port that sends or receives studies with another site needs the same TLS decision as the main server, so tenant traffic between sites is not sent in clear text. Confirm certificate handling on both ends, then test a C-STORE and a C-FIND over TLS. Where policy requires encryption, confirm that the plain-text port is closed to remote sites.

Split logs and backups by tenant

Logs and backups hold every tenant's data unless you split them. A backup of the database and storage area captures every study on the server, whatever labels it carries. Log files can contain identifiers you must protect, so confirm what your logging configuration records. Decide who can read logs and restore backups, whether each tenant needs a separate backup set, and how you test a restore for one tenant without exposing another.

Review the authorization plugin

The advanced authorization plugin forwards the token from each REST request to an external web service. That service decides access and returns HTTP 403 when access is denied, so your tenant boundary depends on its policy and availability. The orthanc-auth-service reference project uses Keycloak-issued user tokens with Orthanc Explorer 2. Confirm the decision logic for each tenant label, the behavior when the service is unavailable, and that every denial is logged.

Authorization plugin docs

Questions buyers ask about multitenant DICOM access in Orthanc

What drives the cost of multitenant DICOM access in Orthanc?

The main cost drivers are the tenant count, the network and firewall changes each tenant needs, the number of modalities that must be reconfigured, the design of REST authorization, and the volume of testing. Each tenant adds its own AET, TCP port, label set and firewall rule, so effort grows with the tenant list. Modality reconfiguration depends on how many scanners and workstations already point at the server and how many must change their AET or port. REST authorization is often where scope is least clear, because it decides whether a tenant sees only its own labels through the web interface as well as through DICOM. Testing covers C-ECHO, C-FIND, C-MOVE and C-STORE for every tenant and every modality. Ask for a quote that lists each of these items separately, with the environment it assumes.

How long does multitenant DICOM access setup in Orthanc take?

The duration depends on scope, and no fixed figure applies to every environment. The size of the tenant list, the number of modalities to reconfigure, whether firewall changes need a separate approval, and whether a test environment already exists all move the schedule. In an illustrative pilot with two labels and a few modalities, the work is far shorter than a rollout across many departments or customers. Organizations with slow change control add calendar time even when the technical work is short. Ask for a timeline in the written scope that separates the build, modality cutover, testing and handover, and name the dependencies you control, such as firewall approvals and access to scanners. Your team can estimate more accurately once it has mapped its tenants and modalities.

What must we provide for a multitenant Orthanc DICOM engagement?

You provide the inputs the work depends on, and most delays come from missing ones. Expect to supply:

  • A tenant list with department or customer names, the labels each tenant may see, and the order in which tenants go live.
  • A written label policy that states which resources carry which labels and who may assign them.
  • The AET, IP address and port of every modality and workstation that will connect, plus the planned AET and port for each tenant server.
  • A test environment or non-production Orthanc instance where C-ECHO, C-FIND, C-MOVE and C-STORE can run without touching clinical traffic.
  • Admin access to the Orthanc host, contacts on the network team for firewall rules, and an identity source if REST access uses SSO.

Confirm these items before the written scope is signed, because each one changes the plan.

Can our internal team set up multitenant DICOM access in Orthanc?

Yes, an internal team can do it if it already manages Orthanc configuration and can run DICOM connectivity tests. The team needs to edit the Orthanc configuration, understand how DicomModalities entries relate to AET and port settings, run C-ECHO, C-FIND and C-MOVE tests, and read logs when an association fails. It also needs to design the label policy and the REST authorization, which is a security decision as well as a configuration task. Firewall paths and modality settings are often where troubleshooting takes the most time. Make sure someone internal can own the label policy after handover, because your organization should keep ownership of ongoing access decisions. DeployOpen works from a fixed scope agreed in writing before work starts, so you can compare the work against your own estimate.

Is there a paid edition or add-on for Orthanc multitenant access?

No. There is no paid edition of Orthanc, and the multitenant DICOM plugin is part of the Orthanc source distribution from version 1.12.0 onward. Orthanc Team SRL sells deployment, configuration and development services, including pre-paid dedicated support hours valid for 12 months. Those hours are quoted on request, so ask Orthanc Team for the terms and the scope they cover before assuming you need them. Support hours are optional and are separate from any engagement with DeployOpen. Check licensing for each component, too. The Orthanc core is GPLv3 or later, while the scalability and cloud plugins, such as PostgreSQL and the web viewer, are AGPLv3 or later. Your legal or procurement team should confirm how those terms apply to your deployment.

Does label separation satisfy a tenant audit for Orthanc?

Label separation is one control you can show an auditor, but it does not settle an audit on its own. The multitenant plugin starts separate DICOM servers that expose only resources carrying the configured labels, which is a useful access boundary for C-FIND, C-MOVE and C-STORE. An audit also looks at the REST API, the authorization service, administrator access, logging, backups and how tenant changes are approved and recorded. Independent auditors and certification bodies decide whether controls meet a requirement. DeployOpen does not issue audit reports or certifications. It can prepare the system, configuration records and test evidence for that review, and retest after fixes. Ask your auditor which evidence they expect before the build starts, so the test plan covers it.

How do tenant DICOM servers limit what each modality can see?

Each tenant server has its own AET and TCP port, and it exposes only resources that carry the labels configured for that server. A modality that queries or retrieves from a tenant server therefore sees only that tenant's studies, which is the access boundary the plugin provides. The plugin supports C-FIND, C-MOVE and C-STORE on these servers. Confirm the exact configuration keys, and how incoming C-STORE images receive their labels, in the plugin documentation before you write the label policy, because the labeling path decides who can see newly stored images. Also confirm that each modality's DicomModalities entry points at the intended tenant AET and port, since a mismatch sends queries to the wrong server. Orthanc Book: multitenant DICOM plugin lists the setup details.

What should we test before moving a modality to a tenant server?

Start with C-ECHO to confirm that the modality can associate with the tenant AET and port, then run a C-FIND for a study that the tenant should see. Next run a negative test: query for a study carrying another tenant's label and confirm that it returns no result. Retrieve one study with C-MOVE to a destination the tenant server recognizes, and send a test instance with C-STORE to confirm that it receives the expected labels. Keep the test output and the Orthanc logs for each step, because they become evidence for the handover and for later reviews. Repeat the full sequence after every firewall, AET or label policy change, and adjust it to match the modality mix in your environment.

What to confirm before relying on label-based tenants

Label-based tenants are only as strict as the configuration, release and access controls around them. Each card below is a decision or check to close with your team before patient images from different departments or customers share one Orthanc database. Work through them in order, since the release and packaging answers shape the rest.

Release and plugin availability

Confirm that your Orthanc build includes the multitenant DICOM plugin, which has been part of the source distribution since the 1.12 series. Then read the NEWS file for every change between your running release and your target, including 1.13.0, released 2026-08-15, which rewrote storage-area access and DICOM parsing and transcoding. Rerun your label-view tests after any upgrade that touches those paths.

Orthanc NEWS file

Plugin packaging and sample status

Confirm how the plugin reaches your servers: in the Docker image, in a Linux package, or in a build you compile from the source distribution. Record that path, since it sets how you patch and rebuild. Then confirm whether the sample is a production starting point or a reference, and plan your own review of its access checks, logging and error handling either way.

Sample plugin page

Tenant and label capacity

Test how many tenant servers and labels one instance handles at your expected study volume, including concurrent C-FIND and C-MOVE traffic from every tenant. Capacity depends on the index database and hardware as well as the plugin. The scalability guidance suggests replacing the built-in SQLite index once an instance holds several hundred thousand DICOM instances, so a large shared estate may need PostgreSQL before go-live.

Scalability FAQ

DICOM operations per tenant

List the operations each tenant AET may perform: C-FIND, C-MOVE and C-STORE are all supported on these extra servers. Then test whether a tenant's C-STORE can place a study under a label that belongs to another tenant, since a write path can undo a read boundary. Build cases from your tenant map, send a store from each AET, and confirm the study appears only in the intended views.

Label changes after ingest

Confirm whether labels are assigned only when a study arrives or can be changed later through the REST API or other tools. If changes are allowed, decide who may make them and whether relabeling moves a study out of a tenant's view at once. Write down the answer for each path, since one relabeling step can change what a customer sees.

REST access and authorization design

Confirm how REST behaves before go-live. By default Orthanc accepts HTTP only from localhost, and if you enable remote access, turn on authentication and define users in RegisteredUsers. For per-request rules, the advanced authorization plugin forwards each token to an external service that returns HTTP 403 when access is denied. Keep /tools/execute-script and the export route disabled, since the security guidance warns they can run commands or overwrite files.

Authorization plugin docs

How DeployOpen scopes and delivers tenant isolation in Orthanc

DeployOpen plans and implements multitenant DICOM access in Orthanc inside your own infrastructure, so each department or customer reaches only the studies carrying its labels. Work starts from a written scope that names the AET and port for each tenant server, the labels, and the REST access rules that sit beside them. Engagements are fixed-scope, with deliverables and timelines agreed in writing before work begins.

How we scope

  • The written scope names each tenant server's AET, TCP port and the labels it may expose.
  • It also covers which C-FIND, C-MOVE and C-STORE operations each tenant server supports.
  • Fixed-scope engagements agree deliverables and timelines in writing before work starts, and ongoing support is available as a retainer.

How we build

  • Configure one additional DICOM server per tenant, each with its own AET and TCP port.
  • Define the label scheme and test that each tenant server exposes only resources carrying its configured labels.
  • Pair the DICOM views with REST access control, such as the advanced authorization plugin, configured during the build.

How we hand over

  • Deliver the configuration files, the label and AET inventory, and the access rule documentation for each tenant.
  • Hand over test evidence showing each tenant's C-FIND and C-MOVE results against its own label set.
  • Walk your operations team through restarts, adding a tenant and reviewing which labels each server exposes.

How we support

  • Retainers cover upgrades, continuous testing and changes when you add a tenant or label.
  • Re-test tenant isolation after each Orthanc upgrade, because recent releases changed storage access and DICOM parsing.
  • Ask for the support hours and response terms in the written scope before you sign.

Sources and further reading

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.