I want to access files from a networkpath (\172.x.x.x\I$).The files should not be served staticly, they should only be accessisble through code.
When accessing a file directly I get an UnauthorizedAccessException: access to path denied.
What are my options here? Adding a virtual directory seems like a good idea here. But I'm stuck trying to access the virtual directory from .net core(3.1).