An authorization model for query execution in the cloud