What are the common types of cyber attacks and how can they be prevented?