From b9a1dc1943a262470c3640d088fe3a45485dd80a Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 5 Jun 2024 11:34:05 +0200 Subject: [PATCH] Update thumbnail README.md with respect to SecureView Referencing: owncloud/ocis#9299 (Thumbnailer respect secure view) Adding a short sentence about the thumbnail behavior when using SecureView. --- services/thumbnails/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/services/thumbnails/README.md b/services/thumbnails/README.md index 3018e68c1c..d18177756b 100644 --- a/services/thumbnails/README.md +++ b/services/thumbnails/README.md @@ -85,3 +85,7 @@ As of now, there is no automated thumbnail deletion. This is especially true whe Since source files need to be loaded into memory when generating thumbnails, large source files could potentially crash this service if there is insufficient memory available. For bigger instances when using container orchestration deployment methods, this service can be dedicated to its own server(s) with more memory. To have more control over memory (and CPU) consumption the maximum number of concurrent requests can be limited by setting the environment variable `THUMBNAILS_MAX_CONCURRENT_REQUESTS`. The default value is 0 which does not apply any restrictions to the number of concurrent requests. As soon as the number of concurrent requests is reached any further request will be responded with `429/Too Many Requests` and the client can retry at a later point in time. + +## Thumbnails and SecureView + +If a resource is shared using SecureView, the share reciever will get a 403 (forbidden) response when requesting a thumbnail. The requesting client needs to decide what to show and usually a placeholder thumbnail is used.