Add security configuration