I have an upload function in my system that stores the files on the d drive e.g D:\KBFiles. Now i need to offer these files as links through internet explorer. Obviously i cant just offer a path e.g D:\KBFiles\test.pdf. Whats the best way to handle this scenario
Share
Write “proxy” file with such code and call it
DownloadFile.aspx:Then have such link:
This allows you to check the user permissions if you’re using Login system and also you can check the requested file against some white list to prevent hacking attempts.