Files
workavia-drive/Documentation/docs/internal-documentation/backend-services/files
Romaric Mourgues 88bd3b2a32 Clean documentation
2023-04-17 17:00:03 +02:00
..
2023-03-23 11:03:16 +01:00
2023-04-17 17:00:03 +02:00
2023-04-17 17:00:03 +02:00

description
description
File on TDrive

📄 Files

description

Files is everything related to file upload in TDrive after the migration to Node.js. Note that the TDrive Drive isn't part of this migration because it will be replaced by Linshare.

TDrive Files upload support chunk upload and file encryption.

Wording

File: document to upload, no constraint on the type of document (image, text, pdf ..)

Chunk: Large file are split in multiple chunk for the upload process

Encryption

Files and Storage services in TDrive feature encryption at rest in aes-256-cbc.

Each file is encrypted with two layers:

  • A file encryption key and iv stored in database and different for each file.
  • A global encryption key and iv used in addition to the previous one and equal for each file.

Models and APIs

database-models

Miscellaneous

resumablejs