On-premises Orthanc deployment in a hospital network

A practical guide to placing Orthanc inside a hospital network: traffic paths, access control, storage protection, remote access and what to confirm before go-live.

On this page

Why an on-premises Orthanc deployment needs network design first

An on-premises Orthanc deployment needs network design before any software is installed, because the placement decision determines which DICOM and HTTP paths must cross the hospital perimeter and who is allowed to use them. The IT lead's job is to give modalities, radiologists and referring sites reliable access to a DICOM archive while patient images stay inside hospital-controlled cloud accounts, data centers or networks. Orthanc is a DICOM server with a REST API. Modalities and peers reach it over the DICOM network protocol, while viewers and integrations use HTTP. The core server does not require authentication by default: by default it only accepts HTTP connections from localhost. Authentication, users and HTTPS become design requirements only once remote access is enabled, so the network plan must say exactly which ports are open, to which sources, and why.

Teams usually choose on-premises placement when local modalities must keep working during wide-area outages, when data residency or internal policy keeps images inside the hospital, or when existing PACS and identity systems already run there. Cloud placement changes the same questions rather than removing them. Whichever site is chosen, the placement decision drives three pieces of work. The first is the firewall plan, which separates the DICOM listener from the HTTP interface and limits each to named modalities, viewers and reverse proxies. The second is identity, which covers a dedicated service account for the Orthanc process, a directory-backed sign-in path for staff, and the authorization model for viewers. The third is storage, which determines whether DICOM files and the index sit on local disks, a database server or object storage, and how that storage is encrypted. Confirm with your security team which of these three decisions they must sign off on first.

How the parts of an on-premises Orthanc setup connect

The diagram starts at the imaging modalities and viewers on the clinical network, which send DICOM traffic to the Orthanc host in a server zone. Orthanc keeps its index in a database and its DICOM files in local storage, both inside the server zone. Clinicians reach Orthanc over HTTPS through a reverse proxy, which checks users against an identity source. Remote staff and vendors enter through a VPN gateway, and every arrow that crosses a boundary is a point to review with your security team.

Trust zones and the arrows that cross them in a hospital Orthanc setup.

Which placement and back-end options fit which hospital

This table compares the main placement and back-end choices for Orthanc inside a hospital network, with the trade-off and what to confirm for each. Read each row against your expected archive size, number of sites and recovery targets, then check the confirm column with your PACS and infrastructure teams.

OptionFits whenTrade-offWhat to confirm
Single host with built-in SQLite indexA single department or pilot archive that is still well below several hundred thousand stored instancesSimple to install, but the docs recommend replacing SQLite once the archive reaches several hundred thousand instances, and it has no shared-database failoverProjected instance count for the next planning horizon, and whether a replacement index can be scheduled before growth requires it
Enterprise database plugin (PostgreSQL)Hospital-wide archives or any dataset the team expects to grow into the several hundred thousand instance rangeAdds a database server to operate, back up and patch, and the PostgreSQL plugin is the route the docs recommend for large datasetsWho owns the database server, its backup and restore tests, and which PostgreSQL version your security team has approved
MySQL/MariaDB or ODBC pluginYour hospital already runs a standard MySQL, MariaDB or ODBC-backed database service that the DBA team supportsSupported as an alternative back end, but it adds integration work and must be checked against the Orthanc version and plugin versions in useWhether your DBA team supports the engine, and that the plugin version matches the Orthanc core release
Local file storage on hospital-owned disksSites that keep all DICOM files on storage the hospital already manages and backs upSimplest storage path, but capacity planning, encryption at rest and off-site copies become your responsibilityEncryption method for the storage volume, backup scope, and whether storage growth has been budgeted by the storage team
Object storage plugin on hospital-controlled infrastructureLarge archives where the hospital runs its own S3-compatible or Azure-compatible object store inside its networkOfficial plugins exist for S3, Azure and Google Cloud, but the hospital must still operate the endpoint, keys and lifecycle rulesWhether the object store runs inside hospital-controlled infrastructure, how keys are held, and whether the plugin version is supported with your Orthanc release
Single Orthanc instanceA single site with one application server and a recovery plan based on restoring from backupLowest moving parts, but downtime during maintenance or failure stops modality and viewer accessAcceptable downtime for modalities and viewers, and whether a restore has been tested against the chosen database
Several Orthanc instances sharing one databaseSites that need more than one application node for availability or load, on a database that all nodes can reachSupported since Orthanc 1.9.2 with PostgreSQL and MySQL plugins 4.0, but it requires load balancing, shared storage planning and coordinated upgradesPlugin versions across all nodes, the load balancer and reverse proxy design, and the upgrade sequence for the cluster

Dedicated service accounts and user access in Orthanc

By default, Orthanc only accepts HTTP connections from localhost, so the REST API and web interfaces are unreachable from other hosts until you change that. If you enable RemoteAccessAllowed, the Orthanc Book security FAQ says to set AuthenticationEnabled to true and define every permitted user in RegisteredUsers. Treat these two settings as a pair: remote access without authentication exposes patient images to anyone who can reach the port. Before go-live, confirm with your security team which identity source the hospital will use for named clinical users, since the answer decides whether Orthanc stores credentials locally in its configuration or relies on an external directory.

Keep two identities separate. The operating system account that runs the Orthanc service should own only the configuration directory, storage path and log path, and it should not be a person's login or a shared administrator account. Named clinical users, such as radiographers, radiologists and integration staff, each receive their own entry in RegisteredUsers. Admin credentials should never appear in plain text in orthanc.json. Supply them through environment variables or Docker secrets, or through the secret store your hospital already operates, and restrict read access to the configuration file on the host. The Orthanc configuration files topic covers the file layout itself, so this section focuses on who holds which credential.

Per-user identity is what makes the audit trail meaningful. A shared account tells an investigator that someone viewed a study, but not who. Confirm with your privacy office how long Orthanc logs must be kept and who may read them, because a log that names users is itself personal data. If access must depend on the requester's role, role-based decisions, or the care team relationship, consider the advanced authorization plugin. It forwards each REST request's token to an external web service that decides whether to allow it, and Orthanc returns HTTP 403 when that service denies access. The reference project, orthanc-auth-service, uses Keycloak-issued user tokens with Orthanc Explorer 2, which you can review as a starting point, while the decision logic remains your responsibility to design and test. The advanced authorization plugin documentation describes the request flow.

Remote access options for staff, vendors and partner sites

Radiologists reading from home usually reach a viewer through a browser session, so the hospital should make a VPN the default entry point and keep Orthanc reachable only on internal addresses. Orthanc accepts HTTP connections from localhost by default, so remote staff access is a deliberate configuration decision. The network path matters, but so does the identity of each user once connected, so Orthanc should authenticate every radiologist individually. The French data protection authority CNIL cited missing VPN and multi-factor authentication for external access to a patient record system in a 2026 fine, which is a useful reference for this path.

  • VPN into the hospital network: Terminate remote sessions on a hospital-managed VPN gateway so viewers reach Orthanc only through internal addresses.
  • Named accounts: Enable RemoteAccessAllowed only with AuthenticationEnabled set to true and each radiologist listed under RegisteredUsers, so no shared login exists.
  • Multi-factor authentication at the gateway: Require a second factor for the VPN itself, so a stolen password alone does not open a session.
  • Study-level restrictions: If the advanced authorization plugin is used, confirm the external decision service denies requests outside each reader's assigned modalities or sites, returning HTTP 403.
  • Session and device rules: Confirm idle timeouts on the VPN and viewer, and whether personal devices are allowed.

Confirm with the hospital security team which VPN product and second-factor methods are approved, then test that a connection from outside the VPN cannot reach the Orthanc HTTP port.

How to set up Orthanc inside the hospital network

This sequence takes Orthanc from workload scoping to a tested hospital deployment, with each network path, account and exposure point decided and checked before the next one opens. The output is a documented, verified configuration that security and clinical teams can review.

  1. Confirm workload and network zones

    Your team, with clinical IT and the imaging owner, records what Orthanc will hold, how many sites and modalities connect, and which network zones it will sit in: modality network, clinical viewing network, server zone and administrative network. Confirm the data classes involved, since HIPAA applies to electronic protected health information for covered entities and their business associates, and GDPR or national rules may also apply outside the United States. Done when the zone diagram is signed off by the people who own each network and the data classification is written down.

  2. Define the traffic matrix for every path

    List each connection as a row: every modality, viewer, peer site and administrator path, with its source, destination, protocol (DICOM or HTTP), direction and business reason. Ask the network team to confirm which rules are needed and which default-deny rules already exist, and ask the imaging team to confirm which modalities truly need to send to Orthanc. Done when every row has an owner and a reason, and no path exists that cannot be traced to a named use.

  3. Create the service account and named users

    Create a dedicated service account for Orthanc's runtime and a separate account for the database, with no shared logins and no use of personal credentials for automated tasks. Then create named user accounts for clinicians, technologists and administrators, with access decided by role. Your identity team should confirm how these accounts map to your directory. Done when each account has one owner, the service accounts cannot be used for interactive sign-in, and the list of named users matches the access request approvals.

  4. Configure database and storage back ends

    Decide where the index and the DICOM files live. The SQLite index is built in, but the Orthanc documentation recommends an enterprise database plugin once the archive grows to several hundred thousand instances, and the PostgreSQL plugin is the one it recommends for large datasets. Choose the storage location on encrypted volumes, and confirm backup and restore responsibilities with the storage team. Done when a test study is stored, indexed, and retrieved from the chosen back end, and the encryption on the volume is confirmed by the team that manages it.

  5. Enable authentication before any remote path

    Before opening any path beyond localhost, turn on authentication and define the registered users, following the Orthanc security guidance that remote access should require authentication. If your organization needs single sign-on or per-user rules, plan the advanced authorization plugin at this point, since it forwards each request's token to an external service that returns a denial. Done when an unauthenticated request from a non-local address is refused and each named user gets only the access their role allows.

  6. Place the reverse proxy and TLS

    Put a reverse proxy in front of the Orthanc web interface and REST API, terminate TLS there, and restrict which network can reach the proxy. The Orthanc security guidance recommends HTTPS and a reverse proxy for any Internet exposure, and the same discipline applies to internal viewers. For DICOM connections between sites, confirm with your security team whether DICOM TLS is required, since Orthanc supports it from version 1.9.0. Done when a certificate is valid for the published name, plain HTTP is not accepted from viewer networks, and the proxy logs show the expected requests.

  7. Disable script execution and export routes

    Confirm that the script execution route and the export route are disabled in the running configuration. The Orthanc security guidance warns that the script route can let a malicious user run system commands and that the export route can overwrite files. Check the live configuration, not just the file, by calling the disabled routes from an administrative client and confirming they are refused. Done when both routes return a refusal and the change is recorded in the configuration review.

  8. Test each path with a checklist

    Run a written checklist covering every row in the traffic matrix: modality store and query, viewer retrieval, peer transfer, administrator access, remote access through the VPN, denied access for an unlisted address, a failed sign-in attempt, and a restore of one test study. Record the result, the tester, and the date for each row, and retest after any configuration change. Done when every row passes, every denial is logged, and the signed checklist is filed with the network and security change records.

Security controls to plan before go-live

A hospital Orthanc server holds patient images, so the controls below need decisions made and documented before any modality or viewer connects. Each card names one control, the reason it matters in a hospital network, and what the review team should confirm.

Keep script and export routes disabled

The Orthanc security FAQ warns that the /tools/execute-script route can let a malicious user run any system command, and that the export route can overwrite files. Both should stay disabled in the production configuration. Confirm this in the deployed configuration file or environment variables, not only in a template, and check that a change-control step exists before anyone re-enables either route for a project.

Security FAQ

Encrypt storage at rest

Decide how DICOM files and the index are encrypted before data arrives, whether through disk encryption on the host, encrypted storage volumes or client-side encryption in the chosen storage plugin. Confirm who holds the keys, where they are stored, how they are rotated, and how a restored backup can be decrypted by the hospital's own team without the original installer.

Enforce unique user identification

HIPAA technical safeguard 45 CFR 164.312 requires unique user identification as a required implementation specification. For Orthanc, this means each clinician and service account has its own identity, and shared logins are not used. When RemoteAccessAllowed is enabled, the security FAQ says AuthenticationEnabled should be true with users defined in RegisteredUsers. Confirm how that user list is maintained and who removes access when staff leave.

Document automatic logoff and encryption decisions

Automatic logoff and encryption are addressable specifications under the technical safeguards, so the hospital must either implement them or document why an alternative is reasonable. For viewers and the REST API, decide the session timeout and where it is enforced. Record the encryption decision for data in transit and at rest, with the reasoning and the owner who signed it off.

Restrict network paths to required systems

Open only the DICOM and HTTP ports that named modalities, PACS peers and viewers need, and allow each one from specific source addresses. Keep the Orthanc HTTP port off general internet access, and route remote clinician access through a VPN with multi-factor authentication. The CNIL fine against Hopital Prive de la Loire under GDPR Articles 32 and 34 was based on external access that lacked VPN and multi-factor authentication. Verify each firewall rule against a written list of endpoints.

Review the Orthanc license

The Orthanc core is licensed GPLv3 or later, while the scalability and cloud plugins, such as the PostgreSQL and web viewer plugins, are licensed AGPLv3 or later. Include these terms in the security and procurement review, particularly if the hospital plans to modify the code, offer Orthanc as a network service to outside parties, or combine plugins into a product. Ask legal counsel to confirm the obligations for the exact plugin set chosen.

Licensing FAQ

What encryption and audit evidence the hospital must prepare

The hospital, not the integrator or the software project, must hold the evidence that its Orthanc archive is protected. The HIPAA Security Rule (45 CFR Part 164 Subpart C) applies to covered entities and their business associates for all electronic protected health information they create, receive, maintain or transmit, so every Orthanc server, database, storage bucket, backup and viewer that holds patient images falls inside that scope. The rule has no certification. HHS states that no standard requires an entity to certify compliance, and a private certificate does not stop HHS from later finding a violation. Orthanc itself is not a compliant product, and no vendor or integrator can hand the hospital a certificate that replaces its own documented controls. What the hospital needs instead is a written set of decisions and the records that show they operate: who can reach the archive, how encryption is configured for data at rest and in transit, which logs are kept and who reviews them, and how backups are restored and tested.

When an outside partner configures, operates or supports the system, the hospital needs a business associate contract that meets 45 CFR 164.314(a)(2)(i). That contract must require the partner to comply with the Security Rule, flow the same terms down to any subcontractor that handles ePHI, and report security incidents, including breaches of unsecured PHI, to the hospital. Check that the contract covers remote support sessions, access to the VPN, and any cloud storage plugin or object store the partner helps set up. Enforcement comes from the HHS Office for Civil Rights, which acts through complaints, compliance reviews and audits, so the evidence set should be ready before a review arrives rather than assembled afterward. A proposed Security Rule revision was published on 6 January 2025 (90 FR 898), and as of October 2026 no final rule has been published. The Unified Agenda projects final action for July 2027. Ask counsel to confirm the current status and whether any draft requirements, such as those for encryption or audit logging, should already shape the design.

Limits to confirm in your own environment

The design in this section depends on versions, hardware and policies that differ from one hospital to the next. Each card names one item to verify, and the check is yours to run with the vendor, the Orthanc project or your own testing before the design is frozen.

Orthanc and plugin versions

Orthanc 1.13.0 was released on 2026-08-15, and it followed 1.12.11 on 2026-04-14. Database, storage and authorization plugins must match the core version you run, so a plugin that lags behind the core can block the upgrade you planned. Confirm which core release and plugin builds your site will standardize on, and test the full combination in a staging environment that mirrors production before you approve the version. Record the pinned versions in your change management system so that later patches are reviewed against the same set.

Orthanc NEWS file

Modality and PACS DICOM support

Each modality, PACS and viewer in your network has its own DICOM conformance statement, and the features you need, such as specific transfer syntaxes, query/retrieve levels, worklists or TLS, may be missing or limited on some devices. Ask each vendor for its conformance statement and test the exact transactions your workflows use, including large studies and failed transfers. Document any device that needs transcoding or a workaround, because that work becomes a recurring operational task.

Database engine and storage capacity

The built-in SQLite index is intended for smaller volumes, and the project recommends an enterprise database engine once storage reaches several hundred thousand DICOM instances. Confirm that the database engine, storage class, IOPS and capacity you choose meet your expected study volume, your recovery point and recovery time targets, and your backup restore tests. Ask your storage team to show a measured restore of a representative archive rather than accepting a rated capacity figure.

Scalability FAQ

Identity tokens for authorization

The advanced authorization plugin forwards each REST request's token to an external web service, which decides access and returns HTTP 403 when access is denied. Your identity source must issue tokens that this service can validate, carry the claims needed for role decisions and expire on a schedule your security team accepts. Confirm with your identity team that the token type, signing keys and group claims work end to end with Orthanc Explorer 2 and the viewers before you assign clinical roles.

Authorization plugin docs

Firewall and VPN traffic support

Your DICOM ports, HTTP ports and remote access path cross firewalls and VPN concentrators that may apply inspection, idle timeouts or size limits to large transfers. Confirm with your network team that the products allow the DICOM association traffic from modalities, the HTTP traffic from viewers and the long-running uploads of large studies without breaking sessions. Test a full study transfer through each path, because a rule that passes small test objects can still fail on large or slow transfers.

Encryption design acceptance

The planned design combines encryption at rest, DICOM TLS for exchanges and HTTPS for the REST API and viewers. Orthanc supports DICOM TLS for inter-site exchanges starting with version 1.9.0, but your security team must decide which key lengths, certificate authority, key storage and rotation process meet hospital policy. Get written sign-off on the design from your security and privacy officers before deployment, and confirm whether any control they require needs a change in the Orthanc configuration or in the storage layer.

Orthanc security FAQ

What hospital IT teams ask before bringing in an Orthanc partner

Does Orthanc have a paid edition I need to buy?

No. There is no paid edition of Orthanc, so the software itself carries no license fee. Orthanc Team SRL sells deployment, configuration and development services, including pre-paid dedicated support hours valid for 12 months, and quotes them on request. The core is licensed GPLv3 or later, while the scalability and cloud plugins, such as the PostgreSQL and web viewer plugins, are licensed AGPLv3 or later, so confirm with your legal team how those terms fit your plans for internal use and any redistribution. Your recurring costs will be infrastructure, staff time and any support contract you choose, not a software subscription.

What actually drives the cost and duration of an Orthanc deployment?

The main drivers are the number of modalities, PACS peers and sites that send or receive images, because each needs its own DICOM configuration, routing and test. Database and storage choices matter next: the built-in SQLite index is typically replaced by an enterprise engine such as PostgreSQL once the archive grows to several hundred thousand instances, and object storage adds its own configuration and encryption work. Identity integration, through the advanced authorization plugin or your existing directory, and the depth of the security review also add time. Ask any partner to break the quote down along these lines so you can see which items you can reduce.

What does the hospital need to provide for the work to succeed?

Plan to supply four things. First, network change approvals for the DICOM and HTTP ports, since firewall rules must be reviewed by the team that owns the hospital network. Second, named identity owners who can confirm how users, service accounts and remote access will be granted. Third, test studies from each modality and viewer, so that transfers, queries and worklists can be verified against real acquisition behavior. Fourth, sign-off from security and clinical IT on the access model, encryption and go-live. Without these, the schedule usually slips at the approval steps rather than in the build.

Can our own IT team deploy Orthanc without an outside partner?

Yes, a capable internal team can deploy Orthanc, provided it has DICOM and network skills and a documented test plan. Orthanc is open source, its official packages and Docker images are available for Windows, Linux and containers, and its book documents configuration and security settings. The areas that most often need specialist attention are DICOM peer configuration across modalities, remote access design, and encryption and audit evidence for the compliance review. A partner is most useful for those gaps or for compressing the timeline, and an internal team can still use one for a targeted security or configuration review.

What does a fixed-scope DeployOpen engagement cover?

A fixed-scope engagement is agreed in writing before work starts, and it sets the scope, deliverables and timelines. For an on-premises Orthanc project, that typically means confirming the modality and site inventory, designing the database and storage layout, configuring the server inside your network, setting up access for modalities and viewers, documenting firewall and remote access rules, and preparing evidence for your security and compliance reviews. DeployOpen plans, implements, hardens, backs up and documents the platform in your own infrastructure, and it does not issue audit reports or certifications. The quote follows from the written scope, so the scope document is the place to confirm what is included.

What breaks most often in a hospital Orthanc rollout?

The most common failures come from unclear DICOM configuration and unreviewed network paths. Mismatched AE titles, ports or character sets between Orthanc and a modality stop transfers silently, and firewall rules opened for testing often stay open. Remote access is another frequent gap: by default Orthanc only accepts HTTP connections from localhost, and when remote access is enabled the documentation calls for authentication with defined users and HTTPS, usually behind a reverse proxy. Operators should also confirm that the script execution and export routes stay disabled, because the security FAQ warns that they can run system commands or overwrite files.

How does remote access to Orthanc through a VPN fit into the design?

Remote access should go through a controlled path such as a VPN with multi-factor authentication, not a direct opening of the Orthanc HTTP port to the Internet. In the design, Orthanc keeps authentication enabled with users defined in its registered user list, serves HTTPS, and sits behind a reverse proxy when viewers outside the network need it. The advanced authorization plugin can forward each request's token to an external service that grants or denies access, which lets identity decisions stay with your directory. Confirm with your security team which remote access pattern they will approve, because it sets the firewall rules, logging and evidence you need to provide.

How DeployOpen scopes and delivers an on-premises Orthanc deployment

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside the client's own infrastructure, including hospital networks. For an on-premises Orthanc deployment, the work starts with a written scope that names the modalities, viewers, storage and remote access paths the hospital needs, then builds and tests each of them before handover.

How we scope

  • Written scope lists the modalities, viewers and DICOM peers that will connect to Orthanc.
  • Scope records the DICOM and HTTP ports to open, and which network segments may reach them.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we build

  • Build installs Orthanc with a dedicated service account and disables the script and export routes.
  • Storage is configured with encrypted local volumes and the database engine chosen during scoping.
  • Remote access through the VPN is tested with authentication enabled, HTTPS and registered users only.

How we hand over

  • Handover includes configuration files, firewall rule records and a diagram of network zones.
  • Documentation explains backup and restore steps so the hospital's own team can run them.
  • Evidence pack covers access settings and logging, prepared for the hospital's compliance review.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Upgrade planning covers Orthanc core releases, plugin versions and the database server underneath.
  • Retainers can include retesting of firewall, access and remote access changes as the network changes.

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.