Based on the multi-routing protocols and the reed-solomon error-correcting coding scheme,a data transmission method was presented,in which,round-encryption and round-signature were not needed.Data packets were all encoded by RS codes and cut into pieces before sending in different paths.After receive all the pieces of a data packet,the destination node could judge whether a malicious modification had been occurred,if so,the malicious node would be found out or be located in a malicious-node-group by a detecting process.Then by fully using the information gotten from detecting process,a reputation mechanism was proposed to resist the modification attacks.When implement it,the Bayesian approach was used to evaluate a node’s reputation.The simulation results show that it can react to the attacks more quickly and accurately.