Enabling the OX App Suite security manager for mandatory access control

The Java and OSGi security manager is off by default in OX App Suite. This page explains when enabling it limits damage from a path traversal or file inclusion flaw, what it costs to run, and how to maintain its policy files.

On this page

Enabling the OX App Suite security manager for mandatory access control: when it is worth the effort

Your security team needs to show that a file-handling flaw in the middleware cannot read arbitrary files on the host. The Java and OSGi security manager is off by default, and it can restrict file system access by policy, so it is one of the few controls that limits what the middleware process can reach even after an attacker finds a path traversal or file inclusion bug. Enabling it is a deliberate change to the runtime, and the work is in writing, testing and maintaining the policy, not in switching a setting on.

The feature confines what the Java process may open, read, write or execute on the file system. Its value depends on how well the policy matches what the middleware really needs: the application's own directories, its configuration, temporary space and any mounted persistent storage. Before enabling it, confirm with Open-Xchange which paths and permissions the chosen release requires, and check the current guidance in the App Suite 8 Operations Guide. Teams should plan a test environment that exercises upload, export, preview and sharing flows, because a policy that is too tight will fail in ways that only appear under real use.

Enable it when your threat model includes file access from a compromised or exploited middleware process and when your team can own the policy files over the life of the deployment. It complements patching and input handling rather than replacing them: a fixed release and strict validation remove the flaw, while the security manager limits the damage if a flaw still gets through. Budget for ongoing work, since every upgrade or new module may need policy changes and retesting. Ask your partner or vendor to confirm which policy changes each release requires, and record the test results as evidence for your security review.

Which security manager approach fits your deployment

This table compares four ways to handle the OX App Suite security manager: leaving it off, enabling the Open-Xchange policy, extending that policy, and trialing changes in a lab first. Read each row as a decision: what the option protects against, what breaks if the policy is incomplete, and who carries the maintenance. The main takeaway is that enabling the manager is only as safe as the policy behind it, so confirm policy ownership before switching it on in production.

OptionWhat it protects againstWhat breaks if the policy is incompleteWho maintains the policy
Keep the security manager offNothing at the JVM layer. Protection relies on patching, network segmentation and limiting exposed endpointsNothing breaks, but a file access flaw is not contained by the runtime if it is exploitedYour team handles patching and network controls; no policy file to maintain
Enable with the Open-Xchange supplied policyRestricts file system access from the middleware so a path traversal or file inclusion flaw has less to reachFeatures that touch files outside the supplied paths may fail with access errorsOpen-Xchange provides the baseline; confirm with them how updates to it arrive
Extend the supplied policy for your customizationsCovers the same risks plus your own extensions, plugins or custom file locationsYour custom code fails on access checks, and gaps may go unnoticed until a user reports themYour team owns the additions and must review them on every upgrade
Trial in a lab before productionLets you find denied file operations and policy gaps without affecting usersLab results only match production if the lab uses the same features, data paths and chart versionsYour team owns the trial, the test cases and the decision to promote the change

How a file access request passes the security manager check

The diagram starts where untrusted request input reaches the middleware, the step that crosses the trust boundary into the JVM. Application code then asks to read or include a file, and the security manager checks that request against the policy files before any file system call completes. An allowed request reads the file as normal, while a denied request is blocked and written to logs for review. Check that denials are actually logged and that the policy allows only the paths the application needs.

Request flow from untrusted input through the security manager policy check to the file system or review log.

What the security manager checks and what it cannot stop

The Java security manager asks the runtime to check each sensitive operation, such as opening a file, making a network connection or loading code, against a policy before the operation runs. If the policy does not grant the permission, the runtime throws an exception and the operation stops. For OX App Suite, the value is in restricting what the middleware process can read and write on disk. After a path traversal or file inclusion flaw, an attacker typically tries to make the application open a file outside its intended directory, such as configuration, credentials or other tenants' data. A policy that limits file access to the directories the middleware actually needs can turn that read into a denied permission check instead of a successful disclosure. The control is only as good as the policy behind it, so the reader must identify which paths the middleware, its plugins and its logging need before enabling enforcement.

The security manager covers only what the policy covers. Operations that a policy grants broadly, or that run through code paths the policy never names, are not restricted by it. It does not remove the flaw that made the traversal possible, so the vulnerable input handling still needs a vendor fix or a verified patch, and the security manager should be treated as one layer of defense in depth rather than a fix. It also does not address authentication, authorization inside the application or attacks that never touch the file system. The reader should also confirm with Open-Xchange which JDK version their App Suite release ships with and whether that JDK supports the security manager. The Java platform has marked the security manager as deprecated, so its availability and behavior can change between JDK releases. Before planning the rollout, ask Open-Xchange to confirm the supported JDK for the exact release in use and the policy files it expects.

How to enable the security manager without breaking mail and Drive

This sequence turns on the Java and OSGi security manager in a controlled way, so file access is restricted without interrupting mail, calendar, Drive or Documents. Each step ends with a check that shows the change is safe to move forward.

  1. Confirm release and JDK support with Open-Xchange

    Before changing anything, ask Open-Xchange in writing whether your App Suite release and the JDK bundled with its middleware images support the Java and OSGi security manager, and whether a supplied policy exists for that exact version. Record the release, image tags, chart version and JDK version in the change request. Done is confirmed when Open-Xchange's written answer names the same versions you are running, and any caveats are listed in the change record.

  2. Inventory file locations used by middleware

    Work with your platform team and any developers who wrote customizations to list every path the middleware, its extensions and your custom code read or write. Include attachment and Drive storage mounts, temporary directories, configuration and log paths, and any certificate or key locations. Cross-check the list against the file access rules that the supplied policy grants. Done is confirmed when every path has an owner and a documented reason, and no path is left unexplained.

  3. Deploy the policy in a matching lab cluster

    Build a lab cluster from the same Helm chart version and container image tags as production, then enable the security manager and the supplied policy files in that lab only. Keep the Kubernetes version, storage backend and ingress choice identical to production so that file paths behave the same way. Done is confirmed when all middleware pods reach ready state, the health checks pass, and the startup logs show the policy loaded without errors.

  4. Run file-touching test cases for mail and Drive

    Run a scripted set of test cases that exercise every file-touching workflow: sending and receiving mail with attachments, calendar invitations with files, uploading, previewing and sharing Drive files, and opening and saving Documents. Include a case for each customization your team has written. Use test accounts in a dedicated lab context. Done is confirmed when every case completes with expected results and the test log has no unexpected permission errors.

  5. Review denied access logs and classify each entry

    Collect every denied file access logged during testing and sort each entry into one of three groups: a legitimate need that is documented, a path your inventory missed, or an access that should never happen. Assign an owner to each group. Done is confirmed when every denied entry has a classification and a ticket, and no denial remains unclassified.

  6. Extend the policy only for documented needs

    Add permissions to the policy only for entries classified as legitimate and documented in the inventory. Review each added permission with a security reviewer, confirm it is limited to the narrowest path needed, and keep the change in version control with a reason attached. Repeat the test cases after each change. Done is confirmed when the reviewed policy diff is approved, the test cases pass again, and no permission exists without a recorded justification.

  7. Roll out to production with a tested rollback

    Schedule the production change in a window agreed with the business owners of mail and Drive. Before the change, save the current chart values, policy files and image tags, and rehearse the reversal in the lab. During rollout, watch health checks and error logs for denied access. Done is confirmed when production passes the same test cases, denied access logs stay at the level seen in the lab, and the rollback was rehearsed and documented.

  8. Maintain the policy through every upgrade

    Treat the policy files as part of the release. Before each App Suite upgrade or chart change, repeat the inventory and run the lab test cases against the new versions, because new features may read new paths. Confirm the target release's support status with Open-Xchange first. Done is confirmed when each upgrade record shows a passing test run and an updated policy review.

Maintaining policy files across upgrades and environments

A patch upgrade within a supported release is the most frequent change and the one most likely to be treated as routine. The goal is to confirm that the file access the platform needs has not moved, and that the policy still blocks what it should. Treat the policy as part of the release artifact rather than a file that is copied forward unchecked, and compare the deployed policy against the version in your repository before each rollout.

  • Diff the policy files: Compare the policy and any grants against the version tagged for the current release, and review every added or removed line before the upgrade window opens.
  • Retest file access paths: Run the same functional checks you ran after the last change, covering attachment upload and download, Drive file access, and log writing, and confirm that denied paths still return denials.
  • Check the deny log: Review security manager denials from a test run and the first hours of production traffic, since a new denial usually means a missing grant or a new path.
  • Sign off by platform and security: The platform owner approves functional results and the security owner approves any policy diff, with both recorded in the change ticket.
  • Version the pinned release: Record the chart version, image digests and policy commit together so a rollback restores all three.

Before closing the change, confirm with Open-Xchange which files the new release reads and writes, since the policy only needs to match what the platform actually does.

Security and operational risks of a security manager policy

A security manager policy can fail in two opposite directions: it grants more file access than intended, or it blocks legitimate work until someone turns it off. Most of the risks below come from how the policy is written, deployed, reviewed and carried through upgrades, so each card names the control that keeps it in check.

Overly broad policy grants hidden access

A policy that allows wide read or write paths can look like it works while still permitting the file access the flaw was meant to block. Traversal payloads often target paths such as configuration, credential or log directories, so each grant should name a specific path and a reason. Review the policy file line by line against the file paths your middleware actually uses, and test a known traversal path to confirm it is denied.

App Suite 8 Operations Guide

Overly narrow policy breaks production

A policy missing a path the middleware reads at startup, or a temporary directory used during uploads, produces errors that appear only under real traffic. Teams under pressure often disable the manager entirely, which removes the control for good. Run the policy in a non-production environment with representative features enabled, including Drive, attachments and any scheduled jobs, before you promote it.

Policy drift between environments

Test, staging and production can end up with different policy files when someone patches one environment by hand or when chart values and mounted files diverge. A policy that is correct in one cluster can be silently weaker in another. Keep the policy files in version control, deploy them through the same pipeline as the release, and compare the mounted files in each cluster against the reviewed copy.

Denied-access logs nobody reads

Each denied file access is evidence of either a misconfigured policy or an attack attempt, but the signal is lost if the logs are never collected or reviewed. Route the denial messages into your central logging platform, define an owner, and set an alert for repeated denials from the same component or user path. Without this review, the control records attacks without anyone seeing them.

Conflicts with other hardening controls

Read-only root file systems, dropped container capabilities, non-root users and restricted volume mounts all change what the process can touch, and they can overlap with the policy in unexpected ways. A directory made writable by a volume mount may also need a policy entry, and a read-only filesystem may make a policy path unnecessary. Document which control enforces each boundary and test the combined setup, not each control alone.

No owner after each upgrade

Policy files describe the file paths of a specific release, so an upgrade can add, rename or move paths and leave the policy incomplete or too loose. Without a named owner, nobody checks the policy against release notes and the new chart before the upgrade. Assign one owner, record the policy version alongside the App Suite release it was tested with, and make policy review a required step in the upgrade checklist.

Support commitment

Questions teams ask before enabling the security manager

Can our own platform team enable the OX App Suite security manager without a partner?

Yes, a capable team with access to the deployment and a test environment can attempt it, but the work is not only a configuration change. The team must know which file paths the middleware and its customizations read and write, write a policy that allows those paths and nothing more, and prove that normal mail, calendar, Drive and Documents flows still work under the policy. Teams without Java or OSGi experience usually find the policy analysis and failure triage the slow part. Decide early whether your team will own the policy after go-live, because that ownership is what keeps it working across releases.

What drives the effort of a security manager rollout?

The main drivers are the number of customizations and third-party extensions that touch the file system, how much test coverage you have for real user flows, how often you plan to upgrade, and how faithful your lab environment is to production. Each custom module or connector can add paths the policy must allow. Without automated tests, every denied access has to be found by hand, and a lab that differs from production hides problems until go-live. A fast release cadence multiplies the policy review work, because each upgrade can change which paths are used.

Is the security manager a one-time cost or an ongoing one?

Both. The initial work of analyzing file access, writing the policy and testing it is one-time. Policy maintenance recurs: every upgrade, new module, new connector or configuration change can require a policy update and a retest. Plan for a regular review step in your upgrade process rather than treating the policy as finished. Ask any partner whether the quote covers only the initial rollout or also the policy updates for future releases, and whether that maintenance is offered as a retainer.

What does the rollout need from our team?

Expect to provide four things: an inventory of the files, directories and modules your deployment uses, a test environment that mirrors production closely enough to exercise real flows, access to application and audit logs so denied operations can be traced, and a change approval path for policy updates and restarts. The inventory is often the hardest item, because the paths used by a default install differ from those used by your customizations. Confirm with Open-Xchange which policy files and settings apply to your release before you start collecting the inventory.

Is the security manager supported on our OX App Suite release and JDK?

Confirm this in writing for your exact combination rather than assuming it. OX App Suite v8 is delivered on Kubernetes and its support depends on the release you run. Standard releases are supported for a limited window, and LTS releases are supported until a later LTS release plus six months, so check where your version sits in the support commitment. The JDK requirements for your release are a separate question, and the security manager behavior can differ across Java versions. Ask Open-Xchange to confirm the supported configuration for your release and JDK, and record the answer in your change file.

What should we ask a partner for in a written quote?

Ask for a written scope that lists the file access inventory method, the environments used for testing, the number of customizations and integrations in scope, and the test cases that prove core flows still work. Ask who maintains the policy files after go-live and how upgrades are retested. Ask what is one-time and what recurs, which items depend on your release or license terms, and what you must provide. A quote should state exclusions, such as work on licensed modules or third-party connectors, so the price reflects the work you actually need. DeployOpen provides a fixed-scope quote from the written scope, so the scope document is where these answers belong.

Limits and what to confirm in your environment

The security manager touches the release, the JDK, the container runtime, licensed modules and the policy itself, so each of these can change whether it works. The checks below are the ones to close with Open-Xchange documentation or support before a change window, and again after every upgrade.

Support for your exact release and JDK

Confirm in writing that the security manager is supported for the precise App Suite v8 release and Java runtime you run, not just for the product line. Support status can differ between a current LTS release and a standard release that is nearing the end of its support window. Check the release against the support commitment and the requirements page before you plan the change.

Support commitment

Which policy entries Open-Xchange supplies

Ask which permissions ship with the product and which must be written for your deployment, such as paths for your file storage mounts, temporary directories and any sidecar tooling. Gaps in the supplied policy are the most common cause of broken features, so get the list in writing. Keep your additions in version control next to the chart values they depend on.

Interaction with Kubernetes and the container runtime

Check how the security manager interacts with your pod security settings, read-only root filesystem choice, mounted volumes and the container runtime's own filesystem isolation. Volume mount paths must be permitted explicitly, or middleware will fail at the first file access. Confirm the behavior on your distribution and runtime version in a non-production cluster first.

Licensed modules and custom packaging

The Operations Guide notes that licensing may set custom packaging, limitations or separate fees, so a module you license may load code paths that your baseline policy does not cover. Ask which licensed modules you run and whether any use a different package set. Build your policy test list from the modules you actually deploy, not from the core feature list.

Operations Guide

Coverage of the flaw class in your tests

Do not rely on a generic statement that the policy blocks path traversal or file inclusion. Write test cases that attempt the specific read and write paths from the flaw advisory against a staging deployment, with the policy enabled, and confirm each one is denied. Repeat the same tests after each policy change or upgrade, and record which results you reviewed.

Ownership of policy maintenance

Decide who owns the policy files after go-live, who reviews each change and who runs the regression tests when a release arrives. Ask Open-Xchange how policy updates are delivered between releases and whether they come with release notes. Without a named owner, new features tend to fail silently behind an out-of-date policy.

How DeployOpen scopes and delivers security manager hardening

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure, including OX App Suite on Kubernetes. For the Java security manager, we start from your deployment and your threat model, then deliver a tested policy, a working configuration and the documentation your team needs to maintain it.

How we scope

  • We confirm which OX App Suite version, release channel and middleware roles run in your cluster before any policy is written.
  • We document which file system paths each middleware component reads and writes, so the policy reflects real behavior.
  • The written scope sets the deliverables, test plan and timeline for the work, and engagements are fixed-scope and agreed in writing before work starts.

How we build

  • We enable the security manager in a lab or staging environment built from the same Helm chart and image versions as production.
  • We write and tighten the policy files in small steps, testing each middleware function after every change to catch blocked file access early.
  • We test the restricted configuration against path traversal and file inclusion test cases, then document the results and fixes.

How we hand over

  • You receive the policy files, the chart values that load them, and the steps to apply them through your normal deployment pipeline.
  • The handover covers how to review policy changes when a new release or a new feature adds file access needs.
  • We document the test cases, expected results and rollback steps so your platform team can repeat the checks without us.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, including policy review for each new OX App Suite release.
  • We can retest the policy after upgrades, Helm chart changes or changes to storage paths, and report what needs adjusting.
  • Confirm with us during scoping which release channel and support window your team will track, so policy maintenance follows the same schedule.

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.