Author: ericsson007 | Posted on: 11/12/2009 8:19:51 PM | Views : 444

I have a need to programmatically create folders on the fly and upload images to these folders. Users should only be able to access images based on their roles. I was first thinking of having a folder for each role, but since I need to create new roles and folders on the fly I cannot do it in web.config. I'm thinking of simply adding a web.config to each folder I create, but my understaning is that the wep app is restarting everytime that happens - could be wrong...
I gather I'm best of writing some kind of ISAPI filter that handles the authorization for the content in these folders. Any suggestion if this is the way to do it, if so any examples out there? If there is a better approach please advise.
(I'm using custom Membership and Roles Provider with a SQL Server backend so I have some flexibility...)
I'm currently using IIS6, but if IIS7 makes it so much easier than I might be able to ' ...

Go to the complete details ...