I want to run a webhotel with php and mysql.
My problem is that this script
would allow people to browse the whole disk and highlight php files that may contain password for accessing MySQL and other "secret" stuff.
I've heard of systems which does so that any user can only access its own kind of filesystem. Like a whole virutal server dedicated to one user. That'd be great if it also prevents his/hers script to view any other files than the one he/she owns him/herself.
But I don't have any clue on how to do that. I've been messing around with suPHP and other things for a while now, and I can't seem to solve this problem.
If someone please could guide me in the right direction, or perhaps show me another way to solve this, I'd appreciate it very much!
Thanks in advance,