Static file authorization in ASP.NET Core MVC

When we want to serve static file ins ASP.NET Core, we should have to read this document. Working with Static Files | Microsoft Docs Let's imagine serving some static protected files with authorization. These files are only accessible by authorized users.