Press play to start listening
If you host several client websites under one cPanel account, a compromised WordPress plugin on one site can put the others at risk. Giving each client a separate account helps limit the damage. How well those accounts stay separated depends on the protections your hosting provider has in place.
What separates one cPanel account from another?
When you create a cPanel account in WHM, it gets its own Linux user. That gives the server a way to distinguish one account’s files from another’s, but file permissions still determine what each user can read or change. A folder made writable by everyone to fix an upload problem can leave files open to other users who can reach it.
CloudLinux’s CageFS adds another layer by giving each account user a restricted view of the server’s file system. That limits what a compromised site can see or access outside its own account.
How a compromised site can reach another account’s files
A symbolic link is a reference to a file or folder elsewhere on the server. If a hosting setup handles those links insecurely, a compromised account can expose files belonging to another customer, including configuration files that contain database credentials.
Apache’s documentation cautions against treating SymLinksIfOwnerMatch as a security boundary because its ownership check can be bypassed. CloudLinux documents a separate kernel-level protection that restricts which links users can follow. If a provider says its accounts are isolated, ask what controls it uses to stop one account from reading another’s files.
What happens when one site uses too many resources?
A traffic surge or a backup job stuck in a loop can consume CPU time and memory that other websites on the server also need. CloudLinux’s Lightweight Virtual Environment (LVE) lets hosts set limits on resources such as CPU, memory and disk activity for individual accounts. Those limits help reduce the effect of one busy site on its neighbours.
Before you move a client, ask your provider what separates one account’s files from another’s and which resource limits apply. According to reseller hosting from Verpex, each cPanel account runs under CageFS, and LVE limits cap each account at 2 GB of RAM, 2 vCPUs and 50 MB/s of disk throughput. Getting those answers means you’re not hammering resources accidentally.
Why addon domains need special care
Putting several client sites in one cPanel account as addon domains can save setup time, but separate domain names do not create separate account permissions. Sites in the same account can run under the same user, so a compromised script on one site may be able to modify files belonging to another.
Sucuri’s guide to cross-site contamination describes how an infection can spread between sites that share an account. If one site is compromised, check the others in that account during the same cleanup. Malware left in a neighbouring site can reinfect the one you’ve already cleaned.
When comparing reseller plans, check how many separate cPanel accounts each plan includes alongside its price and disk space. Budget at least one account per client, and give individual sites their own accounts when they need to be isolated from one another.
(Photo by Christina Morillo on Pexels)