<p class="0abstract"><span lang="EN-US">Based on the security of the receiving signal strength indicator positioning algorithm, the RSSI positioning algorithm in the environment of witch attack, wormhole attack and replication attack has largely failed</span><span lang="EN-US">.</span><span lang="EN-US">Although existing security </span><span lang="EN-US">positioning</span><span lang="EN-US"> algorithms can effectively prevent attacks from occurring, the massive consumption of network resources can’t be ignored.</span><span lang="EN-US">Therefore, a tolerable security positioning method is proposed for each of the three attacks in order to improve the security of positioning.</span><span lang="EN-US">According to the node's physical information, the attack node is detected.</span><span lang="EN-US">Through simulation experiments, compared with the traditional indoor security </span><span lang="EN-US">positioning</span><span lang="EN-US"> method, the proposed algorithm can significantly reduce the intervention of witch attack, wormhole attack and replication attack on positioning error.</span><span lang="EN-US">While achieving the goal of combating attacks, it reduces the computational complexity, decreases node energy consumption, and extends the network life cycle.</span></p>