Skip to content

once auth ships, reject all non-authorized requests #505

@gruns

Description

@gruns

add two rate limits when no auth token is provided

  • solid rate limits per IP. eg a max of like 5 reqs/IP/s
  • extreme rate limit per origin/referer. eg a max of 5 reqs/referer/s
  • do not ship this until auth ships 🙂
  • return http 429 appropriately when rate limits hit

requests with an invalid auth token will still be rejected

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions