Secure Data Sharing and Processing in Heterogeneous Clouds