Encrypting Office Documents, Part 1: Protecting Local Files

In this article, we will show you how to encrypt your local documents, spreadsheets, and presentations. This will be the first in the series: we will move from a simple symmetric encryption plugin to encrypting cloud files during real-time collaboration.

Tools

We will use ONLYOFFICE Desktop Editors, an open-source office suite for Linux, Windows, and macOS. It is distributed under AGPLv3 and has a publicly available API.

Adding More Sharing Permissions to ONLYOFFICE Doc Editors

ONLYOFFICE is an open source office suite that contains docx, xlsx, pptx editors for integration with other apps. Previously, we wrote some articles on how to integrate the editors with document management systems in PHP, Node.js, Python, etc. In this article, we will show you how to add more sharing permissions to DMS + editors combos.

That means more flexible access rights management: apart from basic reading and editing rights, you will be able to bring about commenting, reviewing, filling form rights, and also restrict downloading files.

Integrating ONLYOFFICE With a Python App

ONLYOFFICE is a powerful open-source service that can bring document, spreadsheet, and presentation editing to web apps written in any programming language. In this article, we will tell you how to integrate ONLYOFFICE into your Python app.

For this, we will create a simple document management system on Python and integrate ONLYOFFICE document editors into it. This is going to be easier than you think.

Integrating ONLYOFFICE With a Document Management System

ONLYOFFICE is an open-source office suite that includes document, spreadsheet, and presentation editors. The suite can be integrated with third-party web apps to be used within their interface.

The most popular case here is integration with document management systems (DMS). Here’s what ONLYOFFICE can add to their functionality: