How would I go about setting up a server so that I can have addon domains, and when someone tries to access ftp, they cant use a php file to access /home/<name> because their website would be /home/<name>/websites/<theirSiteRoot>/ and of course they have a www folder which is where the public folder would go.
Please tell me if there is a way to restrict file access through any language to /home/<name> and even /home/<name>/websites
Please don't tell me it isn't a good idea, this is so my friend can have his own site and stuff along side mine, because he is new, and just starting to learn php