-
Security
Protect file downloads with authorization checks
Makes private files (invoices, documents, exports) require ownership checks or short-lived signed URLs instead of guessable public links.
Free Prompt
What This Does / How This Helps
Makes private files actually private by routing downloads through ownership checks or short-lived signed URLs, instead of relying on filenames nobody is supposed to guess. This is IDOR's quieter sibling. The upload flow is locked down but the download link is /files/1042.pdf with no check at all, so anyone who increments the number browses other people's invoices and documents. Guessable URLs are not a permission system. You get a full inventory of file routes split into public and private, fixes applied, and a two-account test proving user B's files refuse to download for user A.
Want to skip doing this by hand?
Fortivibe audits your app for all of the areas these prompts cover (and more).