The growing interest in cloud-based data warehousing is driven by the high return on investment. Nonetheless, the adoption of cloud computing for data warehousing faces security challenges given the proprietary nature of the enclosed data. This paper first, presents an adaptive security solution for sensitive data in cloud-based data warehouses. Second, it illustrates how the security solution can be implemented as a service through a model-driven approach.