FileAuthorizeMiddleware this is a asp.net core middleware that used to authorize the requests for the "non-public" files.