When you add a new domain in some hostings (i.e. 000webhost or some other hostings, which DOESNT USE cPanel) an entirely separate public_html
is created (with a separate FTP login and etc..).
But with cPanel, all "addon domains" are created under the same account and same public_html
folder. So, with PHP programming, from addon domain "account" I can easily access any other domains' FTP folders.
Is there a way to add SEPARATE DOMAIN ACCOUNT in cpanel? or restrict PHP from accessing higher directories? (This thread states there is no solution inside cPanel.)
Some people say that solution is to set open_basedir
and safe_mode
inside php.ini
and http.conf
. Actually, that can be overridden too by hacker.
So, are MULTI-Account hosting (like the above list) or reseller hosting, the only solutions?