Urgent.News

What's breaking now, across thousands of outlets.

Tech

Rate Limiting Without the Guessing: Engineering API Abuse Controls That Hold

Rate Limiting Without the Guessing: Engineering API Abuse Controls That Hold Rate limiting gets treated as a configuration checkbox. It is not. A limit that is set once and never revisited will either break real users or protect nothing. OWASP's 2023 API list moved this problem into the main body of the document. API4, Unrestricted Resource Consumption, covers request counts plus CPU, memory,…

The article "Rate Limiting Without the Guessing: Engineering API Abuse Controls That Hold" discusses the limitations and challenges of traditional rate limiting in API abuse controls. It emphasizes that rate limiting is not just a configuration checkbox, but a complex issue that should be approached with a nuanced understanding.

The article highlights that a single global requests-per-minute rule is not effective against different types of abuse, such as credential stuffing, enumeration, and economic abuse. It suggests that counting the right thing, like API keys or operation-cost keys, is more important than just setting a threshold. The article also stresses the importance of proving that the limit works by testing it with hostile patterns and building in checks for both synthetic bursts.

Finally, it discusses the appropriate placement of rate limiting enforcement, suggesting that it should be done at the edge for coarse limits, at the service level for per-subject and per-resource limits, and at the data layer for protecting expensive queries.

Brief written by urgent.news from Dev.to's own syndicated text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Moving a project to another org can leave the old org's API keys working

A lot of SaaS products let you move a project from one organization to another, often after an acquisition or when a team splits off. The move updates project.org_id and copies the members over.

  • Old organization's API keys may remain functional after project transfer.
  • API keys are tied to project ID, not organization ID.
  • Notify new org admins of surviving keys post-transfer.

Switching from Chrome to Firefox: What's Different and How to Adapt

Switching from Chrome to Firefox: What's Different and How to Adapt Most of Firefox just works the way you'd expect if you're coming from Chrome. A few things are different. Here's what to know.

  • Chrome's tab groups don't exist in Firefox, use Tab Manager and Session Saver instead
  • Firefox syncs via Firefox account, importing bookmarks and history from Chrome is possible

Dark Reader vs NightOwl: Choosing a Firefox Dark Mode Extension

Dark Reader vs NightOwl: Choosing a Firefox Dark Mode Extension Dark Reader is the default recommendation for browser-wide dark mode. NightOwl is a simpler alternative.

  • Dark Reader has been around since 2014 and boasts over 5 million users
  • It offers sophisticated rendering, fine-grained per-site configuration, and active development
  • NightOwl takes a simpler approach by applying a CSS filter: invert() to the entire page

The Next Era of Premium Home Entertainment

Introducing the all-new Haier S85 Series TV — an extraordinary masterpiece designed to redefine how families experience home entertainment. As … Read More The post The Next Era of Premium Home Entertainment appeared first on ProPakistani .

More from Friday 16 October →