...

View Full Version : disable access for higher level folders



_Dan
09-17-2005, 10:43 PM
Is it possible to chmodd or something a folder in such a way that the scripts it contains can only modify/write/read files in it's own directory or sub directories? But not higher level ones.

The idea for this is so that if someone...compromised... the script, they could not do too much damage.

note: this is just a random idea.

felgall
09-18-2005, 01:35 AM
If you actually wanted to disable the script being able to access files at a higher level you could try searching the filename for ./ and not allow access if that is found anywhere in the name.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum