You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Image processing is a memory-intensive application. Most image processing libraries (including ImageSharp and SkiaSharp) decode images into in-memory buffers. Any publicly facing service using such a library might be vulnerable to DoS attacks without implementing further measures.
4
+
5
+
For solutions using ImageSharp such measures can be:
6
+
- Authentication, for example by using HMAC. See [Securing Processing Commands in ImageSharp.Web](../imagesharp.web/processingcommands.md#securing-processing-commands).
7
+
- Offloading to separate services/containers.
8
+
- Placing the solution behind a reverse proxy.
9
+
- Rate Limiting.
10
+
- Imposing conservative allocation limits by configuring a custom `MemoryAllocator`:
0 commit comments