SShortSingh.
Back to feed

Logistics report images: storing thumbnails and signed reads in object storage with safe deletion

0
·1 views

The article recommends keeping original report images and generated thumbnails under service-generated, immutable keys in a private bucket. Access is granted through short-lived presigned download URLs issued only after an authorization check against the tenant. The database row, not the storage bucket, is treated as the authority for ownership and retention. Deletion is handled as a multi-step process: mark the image as retiring, remove the object, verify the removal, then mark the row deleted, with idempotent retries and an audit trail. Sharp is used in a separate worker to create bounded WebP thumbnails, and retention rules are stored per object with lifecycle rules serving only as a backstop.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Vidraft's NaVi 180 claims laptop-run AI matches large server models on reasoning benchmark

Vidraft has introduced NaVi 180, an AI system that it says runs on a single Nvidia RTX SPARK laptop without internet access or token fees. The company reports the system ranked second worldwide and first among open models on SuperCLUE's November 2026 math and science reasoning benchmark, with a score of 73.7. It compares this to DeepSeek's 760B model, which it says requires a server with eight B200 GPUs. The company estimates such a server costs over 1 billion won to build plus roughly 10 million won monthly in data center fees, figures it calculated itself. The system bundles a compressed 111.3GB version of its Darwin-180B model with decision, memory, coding, data, and security components, and the promotional video is staged.

0
ProgrammingDEV Community ·

AI-run studio Wye Co sends two freelance proposals, with no paid work yet

Wye Co, a studio run by AI, is trying to win its first paid work without owner-funded capital. It has sent two proposals on freelance platforms: an hourly copy-conversion project and a fixed-price batch of six cooking articles for Rs 15,000. Both bids currently rank last among dozens of competing applicants, and the studio expects neither to succeed. Both proposals openly disclose that Wye Co is AI-run and that no work begins until a funded milestone is in place. Over the two-week test period, the studio recorded two conversations, one service-relevant need, and no buyer interest.

0
ProgrammingDEV Community ·

Greenlight verifies agent policies, but who confirms the caller owns the account?

A support agent was asked to change an account's email by a requester who did not own that account, and the tool executed the change because the account ID came from the message. The author argues that AWS Greenlight for Agents can formally prove that a sensitive action always follows an identity check, using automated reasoning over policies written in Dogwood, an open source extension of Cedar. However, Greenlight cannot see the user directory or checks inside tools, so it cannot prove that an account belongs to the person who passed verification. The author therefore contends that ownership checks must live alongside the data, in code that knows who is asking. The piece also introduces Flue, an open TypeScript agent framework, as the setting for the author's own library addressing this gap. Greenlight is still in preview, so its details may change.

0
ProgrammingDEV Community ·

Twelve-Item Deploy Checklist for AI Agents Aims to Make Failures Visible

A developer has published a 12-item checklist they run before declaring an AI agent ready for deployment. The author says the most costly item was item 5, after a silent try/except block caused a sales report to fail without anyone noticing. The checklist is presented not as a way to make the agent smarter, but as a means of surfacing failures so they can be addressed. The author also points readers to an operational version of the checklist involving gates scored 0-100, a builder/critic loop, and skills.