IIS secure directory?
Posted: Tue May 19, 2009 3:10 am
Hey all,
I'm running an intranet website with IIS6 and PHP 5.2 using Integrated Authentication.
My web application has a main page, through which all other pages are accessed. The URL is a familiar
All scripts, assets, and subpages are kept in a folder below index.php called _private.
Is there a way to configure IIS so that files in this directly will not be served to the user's browser directly, but only through the index.php file? I tried adjusting the permissions on the folder itself, but that just pops up a login prompt. Is there a good ISAPI filter that will do this?
I'm running an intranet website with IIS6 and PHP 5.2 using Integrated Authentication.
My web application has a main page, through which all other pages are accessed. The URL is a familiar
Code: Select all
http://server/index.php?page=something"Is there a way to configure IIS so that files in this directly will not be served to the user's browser directly, but only through the index.php file? I tried adjusting the permissions on the folder itself, but that just pops up a login prompt. Is there a good ISAPI filter that will do this?