Orthanc DICOMweb integration

DeployOpen plans and implements the official Orthanc DICOMweb plugin so viewers, AI tools and cloud archives can query, retrieve and store studies without classic DICOM networking. Scope, identity, exposure and testing are agreed in writing before setup begins.

On this page

Orthanc DICOMweb integration: how viewers and cloud archives reach your studies

If a viewer, AI tool or cloud archive needs your studies but cannot use classic DICOM networking, the supported route is the official Orthanc DICOMweb plugin. It lets Orthanc exchange studies with those systems over standard web requests, where modalities and PACS use the older C-STORE and C-FIND messages. The plugin covers three services. QIDO-RS is search: a client asks which patients, studies or series match its criteria and gets a list back. WADO-RS is retrieval: the client downloads the images or metadata for a chosen study or series. STOW-RS is storage: the client sends new instances to Orthanc over HTTP.

The same plugin also works in the other direction. Orthanc can act as a DICOMweb client of a remote server, so it can search, retrieve or push studies to another archive that exposes DICOMweb. Before you choose this route, confirm three things in your own environment: which clients will call Orthanc and from which networks, whether they can reach the endpoints through your firewall and reverse proxy, and which remote servers, if any, must be configured on the Orthanc side. Check the configuration keys and the endpoint base path against the plugin documentation for the Orthanc release you run, and test each service with a sample study before any clinical user depends on it.

Web access changes the risk profile. By default Orthanc only accepts HTTP connections from localhost, so a viewer on another machine needs RemoteAccessAllowed enabled. The Orthanc security FAQ says that once remote access is on, AuthenticationEnabled should be true and every user must be listed under RegisteredUsers, and it recommends HTTPS and a reverse proxy for any Internet exposure. Settle the user list, the TLS certificate and the proxy configuration before the first viewer connects. Then test each service with an account that should be allowed and one that should be denied, so you can show that access control works before go-live.

What you need before enabling Orthanc DICOMweb integration

Settle these six decisions before you enable DICOMweb, because each one changes how Orthanc is built, exposed, secured or licensed. Size the database from your own study volume, and confirm plugin compatibility in each plugin's documentation before you pin versions. Decide them together, since the database, identity and proxy choices all shape how clients connect.

Orthanc core and matching plugin

Standardize on one Orthanc core release and pin the DICOMweb plugin build to that same core. Orthanc 1.13.0 was released on 2026-08-15 with a rewrite of storage-area access and DICOM parsing and transcoding aimed at better caching and lower memory use. If your team standardizes on an earlier line, such as 1.12.11, confirm the plugin build that matches it before installation. Record the core and plugin pair in your change log so that test, staging and production run the same combination.

Orthanc release notes

Database engine sized to volume

The built-in SQLite index suits smaller archives, but the Orthanc documentation says to move to an enterprise database engine once the server holds several hundred thousand DICOM instances. For large datasets, the docs recommend the PostgreSQL plugin. Estimate growth from your own study volume, including instances per study and retention period, and test QIDO-RS search response times against that load before go-live. Confirm which database plugin versions your DICOMweb build supports in the plugin documentation.

Scalability FAQ

HTTPS and a reverse proxy

Orthanc accepts HTTP connections only from localhost by default. Before a viewer, AI tool or remote DICOMweb client can reach it, enable remote access with authentication and terminate HTTPS at a reverse proxy in front of the server. The security FAQ recommends this pattern for any Internet exposure. Check that the proxy forwards every DICOMweb path your clients use, passes authentication headers through, and allows request sizes large enough for STOW-RS uploads. Keep the script execution and export routes disabled.

Security FAQ

Named identity source for users

Decide where user accounts live before you open the API. The simplest option is the RegisteredUsers list in the Orthanc configuration, used with AuthenticationEnabled set to true. For shared or regulated environments, the advanced authorization plugin can forward each request's token to an external web service that allows or denies access, returning HTTP 403 when access is denied. Identify who owns that service, how users are added and removed, and how viewer logins map to roles. The reference project pairs this plugin with Keycloak-issued tokens.

Authorization plugin docs

Client accounts and certificates

Every remote DICOMweb server, cloud archive or AI service that calls Orthanc needs its own account, so that one client's access can be revoked without affecting the others. Decide who issues, stores and renews the certificates used for trust between systems. For inter-site DICOM exchanges, Orthanc supports DICOM TLS starting with version 1.9.0, so plan certificate trust on both ends of each link. Confirm in the DICOMweb plugin documentation how it stores credentials for outbound connections and whether it reads them from configuration or through the REST API.

License review for each plugin

The Orthanc core is licensed GPLv3 or later, but the scalability and cloud plugins, including the PostgreSQL and web viewer plugins, are licensed AGPLv3 or later. Ask legal counsel to review how those terms apply if you modify a plugin or offer Orthanc as a network service to outside users. Contributions from UCLouvain since September 1, 2021 cannot be dual licensed, so the licensing terms for that code will not change. Review every plugin in your stack, including the core, before the design is signed off.

Licensing FAQ

How DICOMweb requests move between viewers, Orthanc and remote archives

Requests start in the client network, where a browser viewer or AI tool sends HTTPS calls to the reverse proxy in the proxy zone. The proxy runs the identity check before anything reaches Orthanc, so confirm that unauthenticated calls stop at that boundary. Inside the hospital network, Orthanc's DICOMweb plugin serves the requests, using the index database for lookups and file storage for the DICOM objects. Outbound STOW-RS and WADO-RS transfers to the remote archive in the cloud archive zone leave the same network. Check which credentials and data cross each boundary.

The diagram marks the trust boundaries that DICOMweb traffic crosses in each direction.

How to set up Orthanc DICOMweb integration in order

This sequence takes a DICOMweb-enabled Orthanc from a test copy to a secured service that viewers, AI tools and a remote DICOMweb archive can reach. Each step ends with a named check, so the owner confirms one layer works before the next layer is exposed. Treat the final check as the gate for any production exposure.

  1. Confirm core and plugin versions on a copy

    Your team builds a non-production copy of the Orthanc server with the same core and plugin versions planned for production. Check the Orthanc NEWS file for the core release you intend to run, and confirm in the plugin documentation that the DICOMweb plugin version matches that core. Load only sample or de-identified studies into the copy. Done when the running server reports the expected core version through its system information in the REST API, and both versions are recorded in the change ticket so every later check refers to the same build.

  2. Enable the DICOMweb plugin and query

    Your team loads the official DICOMweb plugin on the copy and restarts the server with the plugin enabled. Before editing any configuration key, confirm its exact name in the plugin documentation. Leave the server reachable only from localhost, which is the default. From the same machine, send a QIDO-RS study query and compare the results with studies you know are stored. Done when the query returns those known studies with matching patient and study identifiers.

  3. Keep remote access off until authentication

    Keep the copy limited to localhost while you define user accounts, so no network client can reach it before credentials exist. The Orthanc security FAQ explains that the server accepts HTTP connections only from localhost by default. The security lead agrees the user list in this step, including who holds an account and who administers the server. Done when the security lead has signed off on that list and a test machine on the network is still refused a connection.

  4. Enable authenticated access behind HTTPS

    Set RemoteAccessAllowed and AuthenticationEnabled to true, then define each account under RegisteredUsers. Confirm these key names and their syntax in the Orthanc Book security FAQ and the plugin documentation before editing the file. The same FAQ recommends HTTPS and a reverse proxy for any Internet exposure, so terminate TLS at the proxy and forward only the DICOMweb paths that viewers need. Done when an unauthenticated request is refused, a registered user receives a successful QIDO-RS response over HTTPS, and the proxy logs show the forwarded path.

  5. Verify WADO-RS retrieval in the viewer

    Load a sample study into the copy and open it in the viewer planned for production, signing in with a registered account. Check the viewer documentation for the DICOMweb endpoint path it expects, and match that path to the proxy and Orthanc configuration. Confirm the viewer issues WADO-RS retrieval requests through the proxy and displays every series without errors. Done when the sample study renders with pixel data and the server logs show a successful response for each instance requested.

  6. Test a STOW-RS upload

    Send a small set of sample instances to the STOW-RS endpoint from an authenticated client, using a test study with a unique identifier. Confirm the upload succeeds and that the new study appears in QIDO-RS queries and in the Orthanc web interface. Then send the same upload without credentials to confirm it is refused. Done when the uploaded study is retrievable through WADO-RS, its instance count matches what was sent, and the unauthenticated attempt returns an error.

  7. Configure and round-trip a remote server

    Configure the outbound connection to the remote DICOMweb server using the base URL and credential settings named in the plugin documentation. Store the remote credentials in the secrets mechanism your organization already operates, and keep them out of plain configuration files on shared hosts. Pick one test study, send it to the remote server, query it back, and retrieve it into the copy. Done when the study identifiers and instance count match on both sides after the round trip.

  8. Confirm execute-script and export routes are disabled

    Confirm in the Orthanc Book security FAQ and the plugin documentation which settings disable the execute-script route and the export route. The FAQ warns that the execute-script route can let a malicious user run any system command, and that the export route can overwrite files. From an authenticated client, send a test request to each route and confirm it is refused. Done when both routes refuse the request, the result is recorded in the change ticket, and the same check is added to the review for every future upgrade.

How DICOMweb query levels and identities map to Orthanc

This table compares each DICOMweb query level and each identity type against the Orthanc setting that handles it. Read it as a checklist: for every row, confirm the mapping in your own environment before exposing the viewer or connecting a remote archive. The main takeaway is that viewers must key on DICOM UIDs, while access decisions sit in Orthanc's authentication settings or in an external authorization service.

ItemSourceTargetCheck
QIDO-RS study, series and instance queriesViewer requests carrying StudyInstanceUID, SeriesInstanceUID and SOPInstanceUID valuesDICOMweb query endpoints served by the Orthanc DICOMweb pluginConfirm each query level returns the same UIDs that your archive holds for a test study
Orthanc internal identifiersOrthanc resource IDs returned by the REST API for patients, studies, series and instancesViewer state and links, which must key on DICOM UIDsConfirm the viewer does not persist Orthanc IDs and resolves studies again by UID after a restart
Viewer usersNamed users signing in to the viewer or Orthanc Explorer 2Entries in RegisteredUsers when AuthenticationEnabled is trueConfirm that remote access is enabled only with authentication on and HTTPS in front of Orthanc
Keycloak-issued tokensBearer tokens issued by Keycloak for each signed-in userPer-request access decisions by the external web service behind the advanced authorization pluginConfirm that denied requests return HTTP 403 and that role checks cover every DICOMweb route you expose
Remote archive credentialsAccount or service credentials for a remote DICOMweb archive, such as a cloud archiveOutbound DICOMweb client settings for that remote server in Orthanc's configurationConfirm each credential is scoped to one archive and stored outside plain configuration files

Securing Orthanc DICOMweb integration before any remote exposure

Each card covers one control that matters once Orthanc answers requests from outside its host. The order matters: authentication and transport protection come first, then the authorization layer, then the routes and data that stay reachable. Treat each check as a pass or fail item in your change review, and repeat it after every upgrade.

Authentication before remote access

By default, Orthanc accepts HTTP connections only from localhost. Enabling RemoteAccessAllowed opens the REST API, including the DICOMweb endpoints, to other machines, so the Orthanc Book advises setting AuthenticationEnabled to true with users defined under RegisteredUsers. Set users before opening remote access. Then test that an unauthenticated QIDO-RS request is refused from another machine, and confirm that viewers and AI tools use individual credentials they are meant to hold.

Orthanc security FAQ

HTTPS and a reverse proxy

The Orthanc documentation recommends HTTPS and a reverse proxy for any Internet exposure. Without transport encryption, credentials, tokens and patient identifiers cross the network in readable form. Place TLS termination and access rules in front of the server. Then confirm that Orthanc accepts connections only from the proxy, that the proxy passes the headers your authentication layer needs, and that body size and timeout limits suit large STOW-RS uploads. Verify the certificate chain and confirm that plain HTTP requests redirect or fail.

External authorization for each request

The advanced authorization plugin forwards the token from each REST request to an external web service, which decides whether access is allowed. A denial returns HTTP 403 to Orthanc. The reference project, orthanc-auth-service, uses Keycloak-issued user tokens with Orthanc Explorer 2. Name the team that owns the access policy and how changes to it are tested. Then check denial for each DICOMweb method, QIDO-RS, WADO-RS and STOW-RS, because a permissive rule on one route can expose studies reached through another.

Authorization plugin docs

Disable script and export routes

The Orthanc security FAQ warns that /tools/execute-script can let a malicious user run any system command, and that the export route can overwrite files. Both should stay disabled on a server that accepts remote connections. Confirm that both routes refuse requests from every client, including administrators and automation accounts. Review which scripts and integrations depend on them, and move that work to a controlled process before lockdown. Confirm how your Orthanc version disables each route, then test the result.

DICOM TLS for classic peers

Orthanc supports DICOM TLS for inter-site exchanges starting with version 1.9.0. It protects classic DICOM traffic between Orthanc and modalities, PACS and other sites, and it is configured apart from HTTPS on the DICOMweb port. Check first whether your DICOMweb clients need DICOM TLS at all, since a viewer that uses only HTTP-based DICOMweb does not open a DICOM association. For each classic peer, confirm the certificate exchange, cipher policy and a C-ECHO test from both sides.

Patient data in logs and exports

Logs, exports and error messages can carry patient names, identifiers and study descriptions. Exported files leave the archive as ordinary files, so access to the export location matters as much as access to the viewer. Ask who can read the Orthanc log files, where exports are written, and how long copies stay on disk. Set a retention rule for each location. Confirm whether production logging records request content, and agree the rules with your privacy and security teams before go-live.

How Orthanc acts as a client of remote DICOMweb servers

Orthanc acts as a DICOMweb client when it sends studies out or fetches them from a remote server. In the push direction, it uses STOW-RS to store instances on a cloud archive. In the pull direction, it uses QIDO-RS to search for studies and WADO-RS to retrieve them into the local index. The two directions fail differently. A failed push leaves data that exists only in Orthanc until the remote archive confirms storage, so the team must determine which instances arrived before any retry. A failed pull leaves a local gap that a later query can miss unless the team reconciles against the remote study list. Decide in advance which side holds the source of truth for each study, because that decision determines where a retry must land and how a mismatch gets detected.

Remote servers usually require credentials, so the first decision is where those credentials live. Keep the token, API key or client secret in the deployment's secret mechanism, such as your container platform's secret store or a vault your team already operates. Confirm which delivery methods the DICOMweb plugin supports, including whether it reads secrets from environment variables or files and which authentication schemes it sends, by checking the Orthanc plugins page before designing the flow. Keep the secret out of configuration files that get copied into images or repositories. Also check Orthanc's own REST access, since the security FAQ recommends that AuthenticationEnabled be true whenever RemoteAccessAllowed is set.

Confirm retry and partial upload behavior by running a test on the actual setup. Send a study with many instances, interrupt the connection partway through, and compare the remote archive's instance count with the local index. Record whether the plugin retries automatically, how many attempts it makes, and whether a partly stored study is resent in full or only for the missing instances. Run these tests with study sizes that match production, because a small study with a few small instances will not exercise chunking, timeouts or memory limits in the same way that a large CT or digital pathology study will. Ask your cloud provider for the request size and timeout limits of its STOW-RS endpoint before you set the test sizes, and record the results alongside the configuration you tested.

Why DICOMweb calls fail and where to look first

This table lists the failures most often seen when viewers, AI tools and cloud archives call Orthanc's DICOMweb endpoints, with the likely cause and the first fix to try for each. Read it top to bottom and check the query, token and authorization layers before assuming the network is at fault. The main takeaway is that a change in one layer, such as the proxy or the authorization service, can alter what the next layer reports, so retest retrieval after every change and again after any upgrade to 1.13.0.

SymptomLikely causeFix
Empty study lists in the viewerQuery sent at the wrong DICOM level, a filter that excludes the study, or a user without read rights on that studyRun the same QIDO-RS query under the viewer's account, then compare filters and permissions in the authorization service
401 or 403 responsesMissing or expired token, or the authorization service denied the request; the advanced authorization plugin returns 403 when deniedCheck token expiry and audience, then read the authorization service log for the denied route and user
Metadata loads but images do notRetrieval blocked by a transfer syntax the viewer cannot decode, or a proxy limit on large binary responsesCompare the stored transfer syntax with what the viewer accepts, and check proxy response and timeout settings for WADO-RS frames
STOW-RS uploads rejected by the remote archiveRemote archive refuses the SOP class, transfer syntax or required attributes of the instanceRead the archive's rejection reason, adjust transfer syntax or attributes on the sending side, then resend one test instance
Large uploads time out at the reverse proxyProxy request body size or read timeout is lower than the upload needsRaise body size and timeout limits, test with a representative study, and confirm values against your proxy's documentation
Slow queries as the index growsThe built-in SQLite index becomes a bottleneck as the instance count reaches several hundred thousandPlan a move to the PostgreSQL plugin, then re-measure QIDO-RS latency on a copy of the production index before cutover
Changed behavior after upgrading to 1.13.0Release dated 2026-08-15 rewrote storage-area access and DICOM parsing and transcodingRetest retrieval, transcoding and STOW-RS on a staging copy before upgrading production, and keep the previous version available for rollback

What buyers ask before hiring help with Orthanc DICOMweb integration

What drives the cost of Orthanc DICOMweb integration help?

Cost follows the written scope, since Orthanc itself has no paid edition and the spend goes to services. Orthanc Team SRL, the company behind the project, sells deployment, configuration and development services, plus pre-paid dedicated support hours valid for 12 months, quoted on request. DeployOpen quotes its own work from a written scope that lists the endpoints to expose, the remote DICOMweb servers to connect, the identity source, the test plan and the handover. Cost rises with the number of endpoints, remote servers, authentication flows and viewers to test. It falls when sample studies, a test environment and a named sign-off owner are ready on day one. Ask any provider to split one-time build work from recurring support hours in the quote.

How long does an Orthanc DICOMweb integration usually take?

Duration follows the scope and how quickly the client can provide what the work depends on. The main factors are the number of DICOMweb services to expose (QIDO-RS, WADO-RS and STOW-RS each need testing), the number of remote DICOMweb servers or cloud archives to connect, the authentication model and whether an identity provider must be integrated, and the number of viewers or AI tools that must read the data. Waiting time also counts: sample studies, firewall rules, certificate issuance and sign-off all sit with the client. Projects with a prepared test environment and named owners move faster than projects waiting on access requests. Ask for a timeline with milestones for build, test, fixes and handover, and check which dependencies it assumes.

What do we need to provide before an integration project starts?

The client provides sample studies, the identity source, network and certificate access, a test environment and a sign-off owner. Each item blocks a different part of the work. Sample studies should cover the modalities, transfer syntaxes and study sizes your viewers and AI tools will handle, including compressed and multi-frame data. The identity source is the directory or identity provider that will issue users and tokens. Network and certificate access covers firewall rules, reverse proxy routes and TLS certificates for each endpoint. A test environment that mirrors production lets the team check queries and uploads before anything touches live patient data. The sign-off owner is one named person who accepts test results and decides on fixes. Agree on these items in the scope so the schedule and quote reflect them.

Can our in-house team integrate Orthanc DICOMweb using the official docs?

Yes, a capable team can build it from the official Orthanc Book, provided it has DICOM and HTTP experience and time to test. The documentation covers the plugin and the REST API, but it does not replace testing against your viewers, AI tools and remote archives. Plan for gaps in four areas: DICOMweb query behavior across different servers, authentication in front of the web endpoints, STOW-RS handling of large uploads, and monitoring after go-live. Teams that have run DICOM networking before usually find the configuration manageable. Teams new to DICOM often spend the most time on attribute matching and transfer syntaxes. A partner is useful when deadlines are fixed, when a security review requires independent testing, or when no one on staff owns the result.

Which license applies to Orthanc DICOMweb and its plugins?

The Orthanc core is licensed GPLv3 or later, and its scalability and cloud plugins, such as the PostgreSQL and web viewer plugins, are licensed AGPLv3 or later. Confirm the DICOMweb plugin license in the Orthanc Book or with Orthanc Team before you ship. AGPLv3 includes obligations for software offered to users over a network, so an organization that modifies a plugin and serves it to users should get legal review. Contributions from UCLouvain since September 1, 2021 cannot be dual licensed, so no separate commercial license is available for those parts. The licensing FAQ is the natural starting point for this review. This summary is not legal advice, and your counsel should confirm how the licenses apply to your deployment.

Does DeployOpen certify that an Orthanc setup is compliant?

No. DeployOpen does not certify compliance. It prepares systems, controls and evidence for compliance assessments, and independent auditors and certification bodies issue the reports and certifications. For an Orthanc archive holding patient images, the work usually covers access control in front of DICOMweb endpoints, TLS for remote exchanges, audit logging, backup and restore records, and keeping high-risk routes disabled. The Orthanc security FAQ warns that the script execution and export routes can be abused, so both should stay disabled. Remote access requires authentication, and HTTPS with a reverse proxy is recommended for Internet exposure. Ask your assessor which evidence they expect, then list it in the written scope before the build starts.

Which Orthanc version should a new DICOMweb integration target?

Target the current stable release that your team can test and maintain, and confirm that the DICOMweb plugin version pairs with it. The most recent release in the project's NEWS file is Orthanc 1.13.0, released on 2026-08-15. It rewrote storage-area access, DICOM parsing and transcoding to improve caching and reduce memory use. The earlier releases in the same line were 1.12.11 on 2026-04-14 and 1.12.10 on 2025-11-26. Storage and transcoding changes can affect caching and encoding behavior, so run the integration tests on the exact version you plan to ship. Check the release notes and plugin documentation before you pin a Docker image or package, and plan the upgrade path now, since a version change will need retesting.

How DeployOpen scopes and delivers Orthanc DICOMweb integration

DeployOpen plans, implements, integrates, hardens and documents Orthanc DICOMweb integration inside your own infrastructure, so viewers, AI tools and cloud archives can reach your Orthanc server over QIDO-RS, WADO-RS and STOW-RS. Engagements are fixed-scope, with the scope, deliverables and timelines agreed in writing before work starts.

How we scope

  • The written scope lists which Orthanc DICOMweb services are exposed: QIDO-RS, WADO-RS and STOW-RS.
  • Scope also names each remote DICOMweb server Orthanc will query or push to, and its authentication method.
  • Your team confirms which clients, such as viewers, AI tools or cloud archives, must reach each endpoint.

How we build

  • Configure the Orthanc DICOMweb plugin and test QIDO-RS, WADO-RS and STOW-RS calls against your own data.
  • Place Orthanc behind a reverse proxy with HTTPS, and enable authentication before any remote access is allowed.
  • Disable the script execution and export routes, which the Orthanc security guidance warns against leaving enabled.

How we hand over

  • A written configuration record covering endpoints, credential handling, proxy settings and remote servers.
  • Test evidence for each endpoint, with the commands and results your team can rerun later.
  • Operations runbook covering backups, upgrades and DICOMweb troubleshooting for your own team to follow.

How we support

  • Ongoing support, upgrades and continuous testing for the DICOMweb setup are available as a retainer.
  • Upgrade checks cover Orthanc core releases, plugin versions and any changes to the remote DICOMweb servers.
  • Confirm the support route for the Orthanc plugins with your own vendor or the Orthanc Team before go-live.

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.