Make security settings parameterized