The internet usage increases every day, shrinking the world to come closer and making it a smaller place for its users to live. However, this increase in usage has created problems for the users with the increase in cyber-crimes. This, therefore, has induced a need for monitoring and analyzing system activities by users and has enforced tracking and blocking malwares. This is where Intrusion Detection System (IDS) and Intrusion Prevention System (IPS) comes into the picture. IDS and IPS have a substantial impact on the society in reducing the number of cyber-crimes. This provides a platform to facilitate basic security amenities for small and medium enterprises and emerging entrepreneurs. Intrusion prevention systems generally include methodologies like analyzing signatures, statistical anomalies and fingerprints. These methods detect malwares and further actions are taken to block the malware. IPS techniques differ on how they scan the data streams to detect a threat or intrusion. Research community to studies network security issues by data capture and data control, such as internet worms, spam control, and Denial of Service (DoS) attacks. This paper will be focusing on detection and prevention cyber of attacks on websites.