Preventive Measures for Cloud Attacks