Scheduled broken-link and redirect checks that tell you the moment a link breaks — linkbruno.com
This is a hypothetical case study, built from a pattern that shows up in a lot of billing systems. The company and numbers are invented.
The setup
A small B2B SaaS company billed around 2,000 customers monthly. After each successful payment, it sent a receipt email with a big "View receipt" button. The button linked to a page showing the invoice and a PDF download.
The link looked like this:
https://app.example.com/receipts/inv_8731?expires=1700000000&sig=4b9f...
Enter fullscreen mode
Exit fullscreen mode
It was a signed URL: the server computed an HMAC over the invoice ID and the expiry time, and the receipt page accepted the request only if the signature matched and the expiry hadn't passed. No login was needed, which was the point. The person reading the email was often not the person with an account.
The expiry was set to seven days.…