In this section, we propose an authentication and key agreement protocol for industries such as coal mines using the mechan- ical sensors in WSN environment. The sensor nodes are responsible for sensing the real-time data and forwarding it directly to a gate- way. The gateways are responsible for receiving/forwarding the relevant data from/to the user/sensor. The user can access the sensed data of a sensor node through the gateway after performing mutual authentication and key agreement.