diff --git a/Developer-documentation.md b/Developer-documentation.md index e62914a..fd7c937 100644 --- a/Developer-documentation.md +++ b/Developer-documentation.md @@ -133,4 +133,12 @@ This module provides the web UI for the users. ## Trying out our webshop Since our webshop is a modern web application, it has quite a few dependencies. To make trying it out easier, we deployed the web application to our own secure Kubernetes cluster. It is available at [unstablevortex.kmlabz.com](https://unstablevortex.kmlabz.com). -The application connects to every dependency (Minio, CAFF previewer wrapper, SMTP and PostgreSQL server) over TLS and the configuration environment variables are stored in [Vault](https://www.vaultproject.io/docs/what-is-vault). \ No newline at end of file +The application connects to every dependency (Minio, CAFF previewer wrapper, SMTP and PostgreSQL server) over TLS and the configuration environment variables are stored in [Vault](https://www.vaultproject.io/docs/what-is-vault). + +## Integrity checking + +The function that is responsible for the preview creation (`create_caff_preview` in `src/utils/caff_previewer.py`) validates the response for the following: + +- integrity (2-way) +- MIME type +- size \ No newline at end of file