API Rate Limiting: 7 Design Checks That Protect Real Resources
Design API rate limiting around users, expensive operations, distributed counters, retry behavior, and tests that preserve legitimate traffic.
Hackbitez journal
Practical cybersecurity guides for access control, secure APIs, browser protections, credential handling, incident evidence, and defensive testing.
Design API rate limiting around users, expensive operations, distributed counters, retry behavior, and tests that preserve legitimate traffic.
Use GitHub Actions OIDC for cloud deployments with narrow trust conditions, short-lived credentials, scoped roles, and verified workflow boundaries.
Review Cache-Control headers for public and personalized responses, distinguish no-cache from no-store, and test browser and shared-cache behavior.
Implement webhook signature verification with the raw body, provider libraries, timestamp checks, idempotency, secret rotation, and controlled tests.
Review Git commit signing, key ownership, verification status, team policy, rotation, and the distinction between a signed change and reviewed code.
Review Linux file permissions with ownership, directory traversal, umask, ACLs, service identity, and safe tests instead of using broad chmod shortcuts.
Evaluate encryption at rest through the threat model, key management, application access, backups, rotation, and tested recovery rather than a checkbox.
Design Linux audit rules with clear questions, effective-rule checks, workload testing, lost-event monitoring, retention, and protected log access.
Learn how to prevent SSRF with destination policies, resolved-IP checks, redirect controls and bounded responses. Use safe fixtures to test the fetch boundary.