A mobile ad hoc network comprises of many mobile wireless nodes. MANET is a self configuring network and such network can be organized easily without any base station. MANET can be very efficiently used in salvage related area, military and law enforcement. But it faces the issues of security and confidentiality, especially when used in susceptible areas. Safe routing protocols have been refined to provide protection and confidentiality at various levels for e.g. ALARM protocol (Anonymous Location Aided Routing) provides both privacy features and security which includes data virtue, node verification and obscurity. This network focuses on achieving the major security objectives which are Confidentiality, Authentication, Authorization and Integrity. In this book, we have proposed ALARM protocol in WSN environment which uses network time protocol synchronization and removes the malicious node from the network, hence preventing the network from attacks.