Change the security config