A logistics app that receives product photos from a browser should use a three-stage intake: a short-lived upload authorization, a private original object, and a server-owned thumbnail job. The browser never becomes the authority for tenant access. This arrangement makes CORS a browser permission check instead of a storage security boundary, and it keeps retention and deletion decisions auditable.
The bill starts with bytes retained, requests made, and data transferred. For image intake, retained originals usually dominate because a 4 MB source kept for 180 days costs more than a small thumbnail, while failed preflights mainly cost developer time and retries.…