Detection and Mitigation of Security Threats in Cloud Computing