In the current age of technology, many business organizations are relying on websites in order to interact with their consumers, deliver content to the consumers and sell their products. Moreover, certain technologies and equipment are being deployed so as to handle several tasks of the website applications. In order to prevent the website applications from insecurity, intrusion detection systems are being used for eliminating security attacks. Security of web application is becoming the major and most important concern for information sharing communities and e-business in today’s technologically developing world. This issue regarding the security of web applications must be resolved in order to provide secured and protected information sharing communities and e-business systems to the users [1]. Professionals and experts have proposed many mechanisms for ensuring security and protection to the web applications in the shape of anomaly detection, signature base models, intrusion and firewall detection and scanner. All these proposed solutions did not prove it to be effective solutions for providing security and protection at the level or layer of application. These proposed solutions and mechanisms are providing partial solutions which have proved to be ineffective. In order to ensure the security in the application layer, novel approaches and mechanisms are being proposed by the experts for effectual defenses against the attacks at the application level [1]. This paper will use ontology’s concept in order to take out semantic relationship between intrusions, suspect activities and attacks that take place in different systems in the existing network and try to eliminate false rate that occur mostly in intrusion detection systems.