Stop Making Your Database Do Work Nobody Asked For.
Why a product catalog queried five tables to display a list of names, and how we took those checks out of the list query.
6 posts, newest first.
Why a product catalog queried five tables to display a list of names, and how we took those checks out of the list query.
A valid login gets you into the app. Which records can you actually see? Learn how to design tenant-safe APIs that apply the same access rules to lists, detail pages, and total counts.
Learn why HMAC session key rotation can break authentication during rolling deployments, and how to migrate fingerprints safely before retiring old keys.
How to introduce new credentials, coordinate consumers, and retire old dependencies safely, with HMAC tokens as a detailed case study.
Learn why unique authentication tokens can still be easy to guess, with a simple Python example. Part 1 of a beginner's guide to backend authentication tokens.
Build a 37-character random token in Python. Learn how secrets.choice, string.ascii_letters, range, and join work together, one step at a time.