Added anti-networkmode security