October 31, 2018 by Agnes Talalaev
Shared hosting allows multiple websites to utilize a single server, but there are some dangers of shared hosting we are covering in this article. Depending on the hardware used by the server, a shared hosting service can host thousands of websites. Shared hosting is usually the cheapest option and prices and packages vary greatly, however, the cheap price comes with its own price. So what can be the dangers of shared hosting?
We often get asked by customers how their site has been infected even though they had security measures in place for their main website. In most cases, these customers make use of shared hosting and have many sites added under the same hosting account.
The main shared hosting security risk is when you add many sites under the same hosting account. In some shared hosting environments, all your sites are accessible with the same FTP account and all your sites sit in the same directory.
In case of a security breach or infection on any of those sites, this kind of setup can often mean that all the other sites (which might have been perfectly up to date and protected by WAF etc.) will most probably be infected as well.
Many shared hosting providers will allow you to Cage your sites. If you’re building sites on WordPress or any other CMS platform, look if they have auto-installers in place which isolate the sites automatically.
While doing clean-ups for years, we have seen a lot of messy hosting environments, but in most cases, shared hosting providers have capabilities to isolate the different domains from each other and even set permissions so sites in subfolders can be isolated as well.
Before you decide to go for shared hosting:
It should not be possible for the environment of site1.com to be able to reach the environment of site2.com.
Also, remember that when it comes to hosting, you get what you pay for. The less you pay for hosting, the fewer resources allocated to your sites. It also means less (dedicated/technical) support and there will be a significant number of users hosting their own sites on the same server as your shared hosting account.