Dear PHP-list, Me and a small group of developers are thinking about making a Norwegian free hosting service. This service features PHP, MySQL and a lot of different services.
Everything we have sat up is ready - Cpanel handles making the most. When a user is registered, we call by HTTP the Cpanel admin panel, setting up a subdomain, making a FTP Account, making a mail adresses and making a folder. All this works fine - but there is one serious hinch. How are we supposed to stop people from including each others files??? We have a structure somewhat similiar to this one: /home/cu/[USER_ACCOUNT]/. Then, a script in /home/cu/test1/, is fully capable of doing file operations with the f* functions at /home/cu/test2, and has practically full access. We know how to make a group, and making a user for that particular group. Now what we think we're supposed to do, is that the folder made when registrered, is "owned" by this usergroup, and the chmod rights are set to group read, write and execute, and nothing else. But how are we supposed to make a folder being owned by a group, and how can we run php so that it will run under a special group and not being able to open other folders? We know a little about UNIX, but not that much. That's our problem. Would be really happy if anyone could help us out! Eric Bolikowski -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php