Author: martijnbu | Posted on: 12/2/2008 2:04:12 AM | Views : 454

Hello there,

I want to host a website on a shared hosting machine and want to protect certain files and/or directory from unautohorized access. With other words I only

want authorized users (users which are logged on) to access certain files in certain directories. For example I have folder 'gallery' in my root application folder,

which contains a couple of flash files and JPEG images. These files may only be accessed when the user is logged on, otherwise they must be denied and or

redirected to a login page (the last is not really neccesesary but would be nice).

 

All this would be perfectly possible if I used the aspnet_isapi.dll to handle all requests (through wildcard script maps). The only problem here is that I am on a shared

hosting machine where I can't do this kind of stuff. I am not allowed to configure my website to this extend.

Has anyone any idea to do the ...

Go to the complete details ...