So I got an application for a client that has a lot of files that need to be opened from within the application, pdf files mostly. I got everything working but when I tried to open the link:
<a class="btn btn-info" tooltip="Ver" href="{{ file.fileLocation }}" target="_blank" ><i class="fa fa-edit"></i></a>
It gives me the "Not Allowed to open local resource: file://srvnas/files/architecture_map.pdf" error, I know this is a Chrome security feature, I want to know what is the most efficient way to open this files. My backend works with asp.net core 2.1 and web api. Do I need to do some kind of fileserver? Do I need to open the files in another way? This folder I try to access is an open folder that is accessible to everyone so the security issue is not a problem to be honest.
Any points in the right direction is greatly appreciated.