This work presents an approach to rollover prevention that takes advantage of the modular structure and optimisation properties of the control allocation paradigm. It eliminates the need for a stabilising roll controller by introducing rollover prevention as a constraint on the control allocation problem. The major advantage of this approach is the control authority margin that remains with a high-level controller even during interventions for rollover prevention. In this work, the high-level control is assigned to a yaw stabilising controller. It could be replaced by any other controller. The constraint for rollover prevention could be replaced by or extended to different control objectives. This work uses differential braking for actuation. The use of additional or different actuators is possible. The developed control algorithm is computationally efficient and suitable for low-cost automotive electronic control units. The predictive design of the rollover prevention constraint does not require any sensor equipment in addition to the yaw controller. The method is validated using an industrial multi-body vehicle simulation environment.