Cloud Computing Security: Foundations and Challenges