Agum
August 4th, 2002, 23:48
hi,
what i want to do is, disallow any cgi scripts or anything running in a directory from writing (modifying) anything outside its own directory. so for example any scripts running in /home/public_html/firstdir cannot have permission to write to any file outside firstdir, but files inside firstdir are okay.
i know there should be a way to do it with .htaccess in my main directory, can anybody help? any suggestions will be much appreciated.
what i want to do is, disallow any cgi scripts or anything running in a directory from writing (modifying) anything outside its own directory. so for example any scripts running in /home/public_html/firstdir cannot have permission to write to any file outside firstdir, but files inside firstdir are okay.
i know there should be a way to do it with .htaccess in my main directory, can anybody help? any suggestions will be much appreciated.