The document presents a secure routing protocol, secured greedy perimeter stateless routing (s-gpsr), designed for wireless sensor networks to address vulnerabilities against attacks such as selective forwarding and sinkhole. The proposed protocol incorporates a trust-based mechanism into the existing GPSR protocol, demonstrating improvements in delivery ratio while reducing routing overhead in simulations. Results show that s-gpsr provides a significantly higher delivery rate and lower routing overhead than GPSR, although it incurs a slight increase in delay under certain conditions.