johan.alfa
September 1st, 2008, 05:54 PM
Hello all,
Situation
Webserver has following directory stucture
/var/www/ as web root
/var/www/index.html
/var/www/foo.css
/var/www/foo.js
/var/www/foo.txt
If a user types /var/www/foo.css as URL in his browser then foo.css is readable.
Is it possible to disallow direct downloading of certain types of files in apache?
I dissabled directory reading but still people try to hack apache with trying all kind off guesses.
greetings,
Situation
Webserver has following directory stucture
/var/www/ as web root
/var/www/index.html
/var/www/foo.css
/var/www/foo.js
/var/www/foo.txt
If a user types /var/www/foo.css as URL in his browser then foo.css is readable.
Is it possible to disallow direct downloading of certain types of files in apache?
I dissabled directory reading but still people try to hack apache with trying all kind off guesses.
greetings,