Collabora Online with Nextcloud server-side encryption

Nextcloud server-side encryption is not supported with Collabora Online, because Collabora must read document content to render and save it. This page explains the options for encrypted storage underneath and how to present the trade-off to security teams.

On this page

Why Collabora Online and Nextcloud server-side encryption do not mix

Nextcloud server-side encryption is not a supported combination with Collabora Online, so a security team asking to enable both should expect a no. The reason is architectural. Collabora Online opens, edits and saves document content through the WOPI protocol, which means the Collabora server must read the file itself, not just a wrapper around it. When Nextcloud encrypts files at rest on the server side, the file the WOPI host hands to Collabora is not in a form Collabora can parse as a document, so the editing session cannot work as designed. Teams usually hit this question during a Nextcloud Office rollout, when they are turning on the editor for users who already store sensitive material, or during an encryption policy review where someone reads the Nextcloud settings in isolation and assumes the feature applies everywhere.

Before the security discussion goes further, confirm the exact support statement in the current Nextcloud administration manual and in Collabora's documentation for your versions. The Nextcloud administration manual describes how Nextcloud Office is configured and restricted by group, but it is the current support matrix that decides whether encryption is covered, and that matrix changes between Nextcloud and Collabora releases. Ask your Nextcloud contact and your Collabora contact to confirm the position in writing for the exact versions you plan to run, and record the answer in the change request so it is not reopened later.

The practical decision is not whether to enable encryption everywhere but which data needs which protection. Map the document classes that will be opened in the browser, decide whether any of them require a stronger control than the storage layer already gives, and test what happens to a sample file under each candidate setup before the policy is signed. The options for encrypted storage underneath are covered in the next section, so this section only needs to establish the constraint: the editor needs readable files, and any encryption you keep must sit where the editor can still reach the content in a usable form.

Encryption options for storage under Nextcloud and Collabora

This table compares the storage encryption options available to a Nextcloud and Collabora Online deployment, including the server-side option Collabora does not support. Read each row for what it protects against, what it changes for live editing, and what your security team should confirm before choosing.

OptionWhat it protects againstEffect on editingWhat security should confirm
Nextcloud server-side encryptionExposure of files at rest on the storage backend when keys stay with the Nextcloud serverNot supported with Collabora Online, so do not enable it on a deployment that opens documents in CollaboraConfirm the exact limitation in the current Nextcloud Office and Collabora documentation before any exception is requested
Full-disk or volume encryption on the storage hostLoss or theft of disks, decommissioned drives and unauthorized access to raw block devicesNone visible to users, because Nextcloud and Collabora read decrypted data while the volume is mountedKey custody, unlock method at boot, and whether a running host or hypervisor administrator can read decrypted data
Encrypted object storage with provider-managed keysRaw storage exposure at the provider layer, with key handling delegated to the providerTransparent to Nextcloud if the S3-compatible or object endpoint is configured correctly; verify latency and retriesProvider key policy, who can administer the key service, audit logs, and the provider's compliance evidence for your scope
Encrypted object storage with customer-managed keysProvider administrators reading data without your key, and key revocation as a stop controlTransparent while the key is available; a key disable or deletion makes documents unreadable to Nextcloud and CollaboraKey rotation procedure, key deletion protection, separation of duties between key and storage administrators, and tested recovery
Client-side end-to-end encryption in NextcloudServer and storage administrators reading file content, because keys stay on user devicesDocuments cannot be opened in server-side editing, so Collabora Online cannot render or save them for those filesWhich file classes are excluded from editing, how key recovery works for users, and how sharing and search behave
Application-level encryption of selected dataDisclosure of specific fields or files in backups and database dumpsDepends on the design; content that must be edited server-side needs decryption in the editing pathWhere keys are held, how backups are encrypted, and whether the design has been reviewed by your own security team

How the trade-off looks to security, compliance and operations

The central question is where plaintext exists. To render and edit a document, the Collabora Online server process must read its content in memory, so a file opened in the editor is decrypted at that point regardless of how it is stored. Server-side encryption protects data at rest, but it does not remove this exposure for documents being edited in the browser.

  • Exposure window: Plaintext lives in memory for the length of each editing session, so process isolation, memory handling and session length belong in the threat model.
  • Host trust: Anyone who can administer the Collabora or Nextcloud hosts, or read their memory and swap, can reach decrypted documents that the storage layer appears to protect.
  • Network path: Nextcloud guidance recommends the same protocol for the Collabora server URL as for Nextcloud, preferably HTTPS, and limiting WOPI requests to known Collabora server addresses.
  • Access scoping: Limiting which groups may use the editor and which may edit narrows who can create plaintext working copies in the first place.

Check the exposure against your own threat model and confirm current Nextcloud and Collabora behavior for encrypted storage before you accept the risk.

Checking encryption requirements before enabling Collabora Online

This sequence turns a vague encryption requirement into a recorded decision that states what Collabora Online can and cannot see, which storage control applies, and how the team confirmed editing and saving still work before anything goes into production.

  1. Document the encryption requirement and threat model

    The security lead writes down what the encryption control must protect against, such as theft of disks, backups or storage snapshots, access by cloud or storage administrators, or exposure of documents to other tenants. The team also records which data classes are in scope, for example confidential contracts or health records, and who holds the keys. Done means a short signed requirement exists that names the threats and the data it covers, so later choices can be measured against it.

  2. Confirm Nextcloud version and encryption state

    The Nextcloud administrator records the exact server version in use and checks whether server-side encryption is enabled, using the admin interface or the occ command line. Teams should also confirm which other apps touch file content, such as external storage or versioning. Nextcloud publishes a new major version every four months and supports each for one year, so the version on record determines which release notes and maintenance notices apply. Done means the version and encryption status are written in the decision record with the date they were checked.

  3. Confirm the Collabora Online support position

    Before choosing a storage control, the team checks the current Nextcloud Office and Collabora Online documentation and release notes for the versions in use, and asks Collabora or the Nextcloud partner in writing whether server-side encryption is supported with the planned setup. Do not assume that a workaround is supported because it runs. Done means the answer is captured with the source, the version it applies to and the name of the person who confirmed it.

  4. Choose the storage-layer control

    Using the threat model, the team compares options that sit below Nextcloud, such as full-disk encryption on the storage nodes, encrypted volumes managed by the storage platform, or encryption at rest provided by the cloud or data center. Each option needs a named key owner, a key rotation approach and a recovery path. The team also notes that storage-layer encryption protects against physical and lower-layer access but does not hide plaintext from the application or from anyone with valid Nextcloud access. Done means one control is chosen, with its key custody model written down.

  5. Verify the Nextcloud Office group restrictions

    The Nextcloud administrator checks that Nextcloud Office access is limited as the Nextcloud administration manual describes: confirming which groups may use the editor and which may edit rather than only view. Test one account from each group against a sample document to confirm the expected permission. Done means a screenshot or exported configuration shows the group settings and the test results match the access model approved in the requirement.

  6. Test editing and saving on sample files

    On a non-production instance that mirrors the chosen storage control, the tester opens sample Word, Excel, PowerPoint and OpenDocument files in the browser, edits them, saves, reopens them and downloads the stored copy. The tester also checks version history, sharing and the file size range the organization expects. Any failure, such as a save error or a file that cannot be opened, is logged with the Nextcloud and Collabora logs. Done means every sample file type saves and reopens correctly and the results are attached to the decision record.

  7. Record the decision and its verification steps

    The security lead and Nextcloud administrator write a decision record that states the requirement, the version checked, the vendor answer on encryption support, the chosen storage control, the group restrictions, the test results and the owner of each recurring check. The record also lists the events that would reopen the decision, such as a Nextcloud major upgrade, a Collabora release that changes the storage path, or a change in key custody. Done means the record is approved by the people who own the risk and is stored where audits can find it.

Security and operational risks of the chosen encryption approach

Whichever encryption approach you choose, the risks sit in the same places: who holds keys, where plaintext copies end up, what gets written to logs, and which network paths can reach Collabora Online. Each card below names one risk and the control that addresses it, so security teams can review them one by one.

Key custody and rotation

Encryption at rest below Nextcloud only protects data if the keys are held and rotated under a documented process. Identify who can read the key material, where it is stored, and how it is rotated without taking the instance offline. Ask the storage or disk encryption vendor how key rotation is performed, whether it re-encrypts existing data, and how a lost key is recovered. Record the answers before the rollout, because the same questions come back during an incident.

Plaintext copies in backups

Backups of the Nextcloud data directory and database may contain decrypted files, depending on where encryption sits in the stack. A backup taken above the encryption layer holds plaintext, while one taken below it holds ciphertext that is only useful with the matching keys. Decide which layer each backup comes from, store the backup keys separately from the backup set, and test a restore on an isolated host so the team knows the keys and data both come back together.

Document content in logs

Server logs, Nextcloud logs and Collabora Online logs can capture file names, paths and, at higher verbosity, fragments of document data. Once logs are shipped to a central system, that exposure spreads to every user with log access. Set log levels deliberately for production, confirm with the Collabora Online logging configuration which fields are written, and review a sample of log lines from a test document before you approve the shipping pipeline.

Unrestricted WOPI requests

Nextcloud's WOPI endpoints accept requests from the network paths you allow, so an open path lets unrelated hosts attempt document access. The Nextcloud administration manual recommends restricting WOPI requests to the IP addresses of the Collabora servers. Maintain that allow list as a controlled item, update it after any change to Collabora addresses, load balancers or NAT, and test that requests from other hosts are refused.

Plain HTTP for the Collabora URL

If the Collabora server URL uses a different protocol from the Nextcloud installation, browsers can block mixed content and document traffic can cross the network unprotected. The Nextcloud administration manual recommends using the same protocol for both, preferably HTTPS. Confirm that the Collabora URL in the Nextcloud settings uses HTTPS, that the certificate is valid for that hostname, and that the reverse proxy does not downgrade the connection between tiers.

Questions security and platform teams ask about Collabora and encryption

Can server-side encryption be turned on for Nextcloud files opened in Collabora Online?

Treat it as a design constraint you plan around, because Nextcloud server-side encryption is unsupported with Collabora Online. Confirm the current support statement for your exact Nextcloud release before you commit, since support positions can change between versions. Nextcloud 35 was released on 16 September 2026, and the Nextcloud Office configuration guide explains how WOPI traffic and protocol settings should be set up. The practical question is where encryption sits: on the storage beneath Nextcloud, or on the hosts and volumes that run it.

What does the storage-layer encryption option cost in effort?

Effort depends on the storage platform you already run, and no figure is supplied for it here. Expect three cost components, each paid for by a different party:

  • Design: key management, threat model and storage layout, usually a one-time cost.
  • Implementation: enabling encryption on volumes, object storage or the database host, plus restore testing, usually one-time.
  • Operations: key rotation, patching of the encryption layer and backup verification, which recur.

Costs rise with the number of storage nodes, the number of Nextcloud instances, and whether keys must sit in an existing hardware security module. Ask any quote to itemize these three components, name who performs each step, and list exclusions such as storage hardware or licenses.

How long does an encryption assessment take for Nextcloud and Collabora?

The duration depends on how many systems the encryption design touches, and no figure is supplied here. The drivers are the inventory of storage backends and hosts, how many Nextcloud and Collabora Online instances share them, how much key management already exists, and how much evidence your assessors need. Most engagements are fixed-scope, so the timeline is agreed in writing before work starts and appears in that scope document. Ask for milestones that separate design review, test restore and production cutover, along with the assumptions behind each one. If a timeline arrives without a list of assumptions, request that list before you accept it.

What must our team provide before an encryption engagement starts?

Prepare these items before the scope is written:

  • An architecture diagram showing Nextcloud, Collabora Online, the WOPI route and the storage backends
  • Nextcloud and Collabora Online versions, plus the Nextcloud app inventory
  • Storage and database details, including existing backup and key management
  • Data classification and the policy the design must meet
  • A staging environment for restore tests, and a named approver for security decisions

DeployOpen works inside your cloud accounts, data centers or air-gapped networks, so host access follows your change process. Late delivery of these items moves the schedule, so list each one as a dependency in the written scope.

Can our own team set up encryption underneath Nextcloud without a partner?

Yes, if your team already runs storage encryption, key management and Nextcloud upgrades. The work is infrastructure engineering, mostly outside the Nextcloud configuration itself. The main risks are key loss, a restore that has never been tested, and an encryption layer missing from the upgrade plan. Nextcloud does not allow skipping major releases, so each upgrade must move one major version at a time, with a backup taken before every step and third-party apps disabled until confirmed compatible. A partner adds value when your team lacks capacity or wants an independent review of the design before it reaches production.

How should we write up the encryption trade-off for auditors?

Write it as a documented risk decision with a named owner. Include:

  • The constraint, with the Nextcloud documentation version you checked
  • The chosen storage-layer control and where the keys are held
  • Compensating controls such as TLS, restricted WOPI access, group-based editing limits, logging and timely patching of Collabora Online
  • The residual risk, the person who accepted it and the review date

DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports or certifications. Independent auditors and certification bodies make that judgment, so agree early which evidence they expect.

Does the Collabora Online subscription change the cost of this setup?

Collabora's Business plan costs 3 euros per user per month for up to 99 users, according to the Collabora Online pricing page. It includes long term support, a service level agreement, signed security updates and customer portal access. The Enterprise plan, for 100 or more users, is quoted with volume discounts and adds integration support, customization services and roadmap input. CODE is free, but Collabora describes it as not recommended for production. For a system that holds sensitive documents, the subscription question is mainly about supported security updates. Those subscription terms are separate from any DeployOpen fee, which follows from the written scope.

What breaks most often after encryption is added to the storage layer?

Key availability during boot and restore is the first thing to test, because a host that cannot reach its keys cannot serve data. Other failures to plan for:

  • A backup restores data whose keys were stored elsewhere or lost
  • Encryption overhead slows storage I/O, which shows up as lag when documents save or autosave
  • A Nextcloud major upgrade runs without a fresh backup or without a check of the encryption layer

Back up before every upgrade, and record which keys each restore point needs. Test a full restore on staging after each change to the storage design.

Official sources to read before deciding

Start with the Nextcloud Office configuration page in the Nextcloud administration manual, because it sets out how WOPI traffic, the Collabora server URL and group-based editing permissions are meant to be configured. Read it against your own Nextcloud version, since the configuration options and their wording change between releases. The same page recommends restricting WOPI requests to the Collabora server addresses and using matching protocols, so note which of those settings your security team would need to see before approving any encrypted storage design. The Nextcloud Office configuration page is the natural first read for this decision.

Next, read the Nextcloud system requirements and the upgrade manual. The requirements page lists the database, PHP and web server versions that your Nextcloud release supports, which determines whether your storage and encryption choices are even tested on your stack. The upgrade manual explains that Nextcloud does not allow skipping major releases, and that you should back up before every upgrade and disable third-party apps until they are confirmed compatible. Any encryption layer you add below Nextcloud must survive those upgrades, restores and app changes, so record how it will be handled at each step. Use the Nextcloud system requirements and the Nextcloud upgrade manual as your checklist.

Encryption support statements change, and neither source settles the question for your environment alone. Ask Nextcloud directly, through its support channels or your Enterprise contact if you hold a subscription, whether server-side encryption is supported with Collabora Online in your target release. Ask Collabora the same question for the Collabora Online version you plan to run. Get the answers in writing and keep them with your risk assessment, because a security team will want the date and the source of the statement. Where the answers conflict with the documentation, treat the written vendor response as the decision point and record the gap.

How DeployOpen scopes encryption decisions for Collabora Online

DeployOpen treats server-side encryption for Collabora Online with Nextcloud as a design decision, not a switch to flip. We scope the storage and key arrangement, build and test it inside your infrastructure, and hand over the written decision with the operating procedures your team needs.

How we scope

  • Written scope lists which Nextcloud storage paths, document types and user groups the encryption decision covers.
  • We confirm your Nextcloud and Collabora Online versions and the support status your team relies on before work starts.
  • The scope records who owns encryption keys, who approves the trade-off and which security controls must still apply to edited documents.

How we build

  • We test an encrypted storage option under your data layer and confirm whether Collabora Online can open and save documents from it.
  • Test cases cover opening, editing, saving, sharing and restoring documents, using sample files that match your real formats.
  • We document each control in your environment, including how WOPI traffic, TLS and access restrictions are configured between Nextcloud and Collabora.

How we hand over

  • A written decision record explains the encryption options considered, the risks accepted and the controls compensating for the gap.
  • Runbooks cover key rotation, backup and restore, and the steps to take when a document fails to open after a change.
  • We provide evidence your security team and auditors can review, prepared for assessment without us issuing any attestation.

How we support

  • Engagements are fixed-scope, and scope changes are agreed in writing before any extra work starts.
  • Ongoing support, upgrades and continuous testing are available as a retainer, which covers re-testing after Nextcloud or Collabora updates.
  • We can re-run the encryption test cases when Nextcloud releases a new major version or Collabora Online changes its supported configuration.

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.