Preventive Measures against Cyber Attack