In the comparison between a hosted vs. on-premise phone system, a cloud-based system comes out on top in terms of security, as data stored on the cloud is harder to duplicate as opposed to that in on-premise systems.
For further reading on similar topics, refer to the list below.
Common Misconceptions about Cloud Phone Systems
Features to Look for in a Cloud Phone System
Equipments needed to install a Cloud Phone System