8000 feat: office deployment hardening by jvillafanez · Pull Request #11339 · owncloud/ocis · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: office deployment hardening #11339

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

jvillafanez
Copy link
Member

Description

Harden office installation:

  • The wopi server isn't expected to be exposed with Collabora or OnlyOffice (it might be needed for Microsoft, but it isn't covered here)
  • Connectivity between Collabora / OnlyOffice and the wopi server will be done through the docker network.
  • OnlyOffice will use IP filters:
    • It's expected that you can only open documents from the collaboration-oo host (the wopi server for OnlyOffice).
    • The editor is expected to be used without any change
  • The wopi server for OnlyOffice will use proof keys.

In general, you shouldn't need to change anything. If the installation worked before these changes, it should also work with this PR without touching anything else.
For new installations, you can still go through the regular installation steps. The only change is that you won't need to setup a domain for the wopiserver (so less things to do)

Note that this is just deployment changes and there is no code change involved.

Related Issue

#11325

Motivation and Context

Using both ip filters and the proof keys, it should help to harden the installation by making sure the requests come from trusted sources. Requests coming from untrusted sources should be rejected or ignored

How Has This Been Tested?

Quick test by uploading a .docx file and edit it in the office editor (both Collabora and OnlyOffice). There are no problems with the regular scenario and the changes are saved properly.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

@jvillafanez jvillafanez self-assigned this May 21, 2025
Copy link
update-docs bot commented May 21, 2025

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@jvillafanez
Copy link
Member Author

Pinging @mmattel in case this is merged because it's probably doc relevant.

@mmattel
Copy link
Contributor
mmattel commented May 22, 2025

@jp, yes this is docs relevant and many thanks for taking care. This eases the configuration and setup. I did an important change for collabora recently and added a changelog. Could you also add a changelog for this PR. Normally we dont do this for ocis_full, except for PR's like this one.

Copy link

@jvillafanez jvillafanez requested review from 2403905 and kobergj June 10, 2025 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0