We explore a model in which QSO broad absorption lines (BALs) are formed in a radiation pressure- driven wind emerging from a magnetized accretion disk. The magnetic field threading the disk material is dragged by the flow and is compressed by the radiation pressure until it is dynamically important and strong enough to contribute to the confinement of the BAL clouds. We construct a simple self-similar model for such radiatively driven magnetized disk winds, in order to explore their properties. It is found that solutions exist for which the entire magnetized flow is confined to a thin wedge over the surface of the disk. For reasonable values of the mass-loss rate, a typical magnetic field strength such that the magnetic pressure is comparable to the inferred gas pressure in BAL clouds, and a moderate amount of internal soft X-ray absorption, we find that the opening angle of the flow is approximately 0.1 rad, in good agreement with the observed covering factor of the broad absorption line region.