tomhartland
11-07-2003, 06:13 AM
Greetings
I'm writing an MFC ISAPI extension dll (running on IIS 5.0) to provide secure file streaming.
The files in question live behind the wwwroot and therefore cannot be navigated to directly. The dll takes security parameters and streams the file back to the browser providing the correct mime content type.
I'm attemping to access the MimeMap object in IIS to provide the correct mime content type, but I'm failing as all the example code is based on VBScript to run in WSH!
Can anybody point me in the right direction to access the MimeMap object, or where IIS stores the list of mime types?
Thanks in advance
Tom
I'm writing an MFC ISAPI extension dll (running on IIS 5.0) to provide secure file streaming.
The files in question live behind the wwwroot and therefore cannot be navigated to directly. The dll takes security parameters and streams the file back to the browser providing the correct mime content type.
I'm attemping to access the MimeMap object in IIS to provide the correct mime content type, but I'm failing as all the example code is based on VBScript to run in WSH!
Can anybody point me in the right direction to access the MimeMap object, or where IIS stores the list of mime types?
Thanks in advance
Tom