It is pointed out that to protect the IDS system, the security defects of the components in the system must be detected dynamically and must be updated in time.
This paper firstly introduces the security in IDS and points out it is connected with the operating environment of the whole system. Besides, it expatiates upon the solution to the security of the whole system from the three aspects of operating system, routers and IDS itself to improve the defending ability of the whole IDS system. Finally it points out that to protect the IDS system, the security defects of the components in the system must be detected dynamically and must be updated in time.