hi all,
I am trying to secure a part of my web server. I have a directory called /confidential. I want anyone with a valid password to get access to this directory. I have a location tag in apache which validates against a valid user. However, i have other directories within this directory that i only want to limit to certain people. I am using .htaccess files for this purpose. I have a directory tag on the /confidential directory which has the allow overides directive on. This should allow .htaccess to overide. However, what happens is that people are validated when they enter the /confidential directory - which is good - however if they go on to access a sub-directory when they are not named in the .htaccess file - they still have access! Does anyone understand whats going on here?
thanks for your time
jim
I am trying to secure a part of my web server. I have a directory called /confidential. I want anyone with a valid password to get access to this directory. I have a location tag in apache which validates against a valid user. However, i have other directories within this directory that i only want to limit to certain people. I am using .htaccess files for this purpose. I have a directory tag on the /confidential directory which has the allow overides directive on. This should allow .htaccess to overide. However, what happens is that people are validated when they enter the /confidential directory - which is good - however if they go on to access a sub-directory when they are not named in the .htaccess file - they still have access! Does anyone understand whats going on here?
thanks for your time
jim