theironchef Posted November 26, 2006 Share Posted November 26, 2006 ok. I am basically making a free unlimited hosting thing. I have it all setup and I give mysql databases, unlimite space, and unlimited bandwidth. I allow users to upload any kind of file blah blah. Is there a way I can stop them from runnign php scripts that can access parent directories jsut as my host does not allow me past my /home folder? I've tried runnign recursive php scripts myself to try testing and the scripts couldnt do anything beyond this folder. I wasnt the same affect for the users home folder. They can do whatevr they want int heir, but no further! HELP ??? Link to comment https://forums.phpfreaks.com/topic/28489-help-parents-folders/ Share on other sites More sharing options...
corbin Posted November 26, 2006 Share Posted November 26, 2006 Ummm you could set file permissions for each and every user... But that would take forever... Also you'll need to disable any functions that can pass command line commands... Link to comment https://forums.phpfreaks.com/topic/28489-help-parents-folders/#findComment-130404 Share on other sites More sharing options...
theironchef Posted November 26, 2006 Author Share Posted November 26, 2006 yea but how would i do thatParent folder = 750 -> User1 folder = 666 -> User2 folder = 666...so forth... does this mean the users are stuck in their folder? I'm not good with these file permission numbers stuff. Anyone have a clue? Link to comment https://forums.phpfreaks.com/topic/28489-help-parents-folders/#findComment-130469 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.