Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Looking for a way to hide the source of downloadable files

Tags:

asp.net

I'm building an internal site with the main function of serving up software downloads. One thing I want to guard against though, is people finding the source paths and circumventing the site (the site logs the download for auditing.)

Is there a way to conceal the source of the binaries? (I'm using ASP.NET)

like image 453
The KZA Avatar asked Dec 10 '22 21:12

The KZA


1 Answers

The best way to do this is to place the files in a directory that is inaccessible from the web, and then load the files dynamically.

This article may help.

like image 62
John Rasch Avatar answered Mar 24 '23 05:03

John Rasch