With the rapid development of the network technology, more bandwidth is required. Multicast transmission offers efficient network resource consumption. Multicast security is a hot issue. Multicast security problem hinders the development of multicast technology. This paper discusses the principles of multicast protocol PIM-SM and makes a detailed description of a method to prevent vicious multicast source attacking. The method can improve the reliability of multicast system.