Abstract: A lot of studies have been carried out to secure the network coding. Network coding can be defined as the transmission mode over any network. For a secure transmission a dynamic key is generated and these two are then mixed to secure the cipher text. These network coding are characterized into two groups: weakly secure shannon secure. The difference between these two groups is that weakly secure doesnt allow any outflow of meaningful information where as shannon secure didnt allow any kind of outflow of information. In this study, the security approach of improved secured network segmentation and dynamic key exchange has been blended, so as to reduce the attacks and threats to a network. It has also increased the efficiency of the network. We have also demonstrated the same in wireless sensor network scenarios under dynamic key exchange.