Hello,
I'm working on a asp.net system that has a custom download page, this page checks if the user is authorized to download the requested file, and if yes, it opens the file and starts sending chunks to the client.
It was running on IIS6 and the server was updated to Windows 2008/IIS7 and I don't think this custom download page is needed anymore, what I would like to do is create a custom module that when a request is made to File.zip, IIS7 will run this custom module that will check if the user is allowed to download or not, and if yes, the download will start and the process will be handled by the IIS7 process itself instead of the asp.net process.
Is it possible?