Preventing Path Traversal in ASP.NET Core File Download APIs
Every API that serves a file eventually grows an endpoint that takes a filename from the client. It ships as a two-line convenience, it works, and it becomes the most dangerous route in the service. P
codingdroplets.com10 min read