The threats caused by IM worms were analyzed, the solutions in existing applications and studies were analyzed and their strong points were made use of. Then a series of strategies to keep away worms in IM system were put forward. In these strategies, the PKI mechanism was introduced into IM, techniques such as CAPTCHA were used, methods such as signature, verifying signature, CAPTCHA validate and IM messages flux monitor were adopted, so as to ensure the validity ...