2. Encrypting documents
At the moment, you can encrypt DOCX, XLSX, and PPTX files in a Private Room.
After a user places a document or saves the newly-created one within a Private Room, the data is encrypted with 256-bit password generated automatically within the app.
This password is then encrypted with a public key of the user.
The pair of passwords for the encrypted document and the public keys of all users with access are recorded in the unencrypted part of the file together with the encrypted document contents.
The resulting file is stored in a Private Room in the ONLYOFFICE cloud.
When accessing the encrypted file, the user’s instance of ONLYOFFICE Desktop Editors decrypts the file key using their private key, and opens the file.