Hi! I have a set of files stored in a folder that is *not* shared. I need to make these available for download, but I need to restrict access based on permissions in a database. On my old IIS3 server, I did this by linking to the files using a URL like "http://site/scripts/secure.asp/somefile.jpg". The secure.asp script would read PATH_INFO to determine the name of the file, check the database to determine permissions, and if access was allowed, it would read the file in and use Response.BinaryWrite to deliver it to the client.
Unfortunately, PATH_INFO doesn't seem to work properly under IIS 5. After some research, I tried setting AllowPathInfoForScriptMappings, but it had no effect. I am still getting a 404 not found error. Does anyone have any idea how to get this to work? Thanks in advance for any help! -- Matthew Feinberg [EMAIL PROTECTED] --- You are currently subscribed to iis50 as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] --------- Administrated by 15 Seconds : http://www.15Seconds.com List Archives/Search : http://local.15Seconds.com/search Subscription Information : http://www.15seconds.com/listserv.htm Advertising Information: http://www.internet.com/mediakit/
