Methodology of Countering Attacks for Wireless Sensor Networks Based on Trust | IEEE Conference Publication | IEEE Xplore