Urgent.News

What's breaking now, across thousands of outlets.

Tech

Browser Image Upload to Object Storage: 4 Retention Checks for Logistics Exports

Browser Image Upload to Object Storage: 4 Retention Checks for Logistics Exports Short answer: use a private bucket, let the server create a tenant-bound object key, and give the browser a presigned upload URL. For logistics product images, the difficult decision is not how to move bytes. It is what deletion means after an export has been generated. Option Browser upload Retention boundary Tenant…

Retaining uploaded images in object storage presents a challenge for logistics exports. The primary decision is determining when deletion occurs after export generation. The recommended approach is to utilize a private bucket with a tenant-bound object key and a presigned upload URL for the browser. This solution allows for easy implementation using Amazon S3 or Google Cloud Storage, providing strong governance and lifecycle management options.

However, when using Cloudflare R2, careful review of lifecycle semantics is necessary. For smaller teams, Cloudflare-centered solutions using presigned URLs and application-managed deletion offer simplicity. The core decision rule is that shared REST paths are preferred when private tenant images, explicit application deletion, and a simple implementation are prioritized over native storage retention locks or replication. This approach simplifies credential management and reduces implementation complexity.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

GitHub Actions Workflow Lockfile: Pin Transitive Deps

GitHub just made workflow lockfiles generally available, and the gh actions-lock command finally answers a question that SHA pinning never could: what about the actions your actions call?

  • GitHub introduces workflow lockfiles to pin transitive dependencies precisely.
  • Lockfile complements YAML by recording exact commits for actions and dependencies.
  • Recommend starting with low-risk workflows before expanding to sensitive deploy workflows.

Keisei Skyliner Reservation System Hacked, Up to 3.37 Million Records at Risk

Keisei Electric Railway has suspended online seat reservations for its Skyliner express service connecting central Tokyo with Narita Airport after a cyberattack potentially exposed up to 3.37 million…

  • Keisei Electric Railway suspends Skyliner online reservations.
  • Attack may have exposed up to 3.37 million personal records.
  • Passengers must buy tickets via alternative means.

Props Drilling in React

When building React applications, we use props to pass data from one component to another. But what happens when we need to pass data through multiple components, even when some of those components…

  • Props Drilling occurs when data is passed through multiple intermediate components in React.
  • User component in the example needed username from App via Profile, illustrating Props Drilling.
  • Context API provides a solution by allowing data sharing without Props Drilling.

More from Sunday 15 November →