Website attacks have been one of the main threats to websites and web portals of private and public organizations. In today's digital world web applications are an important part of day-to-day life so it has become a challenging task to secure the applications.