Split security.php for different env.