I am working on a web app that is selling files. Initially it will be just *.mp3 files but later this will be extended. I need an ISAPI filter that will for a given set of file extensions check whether the user is allowed to download the file. so if a user goes to http://mysite/[url removed, login to view] the user is then directed to a login page where they enter their username, this user name is kept in the session. In case the user wants to download multiple files. After entering the name a stored procedure will be called (MS SQL2000) giving two params 1. username 2. file requested the sp will return 1 if allowed and 0 if not. if authorised the file will be streamed to the user. I have already done this using .net httpHandler interface. but need a multitreaded ASAPI filter the zip file has the code so you get an idea of what i need.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.
It will run on win 2k3 iis 6