---
title: 启用强认证，禁用dangerouslyDisableDeviceAuth
description: "禁止使用dangerouslyDisableDeviceAuth高危配置，该选项禁用设备身份验证。启用后，攻击者可能仅凭持有Token即可建立连接，无需完成设备配对，存在绕过设备身份验证的风险。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengcctrustzone/tee/cVMcont/kunpengtee_zjsj_openclaw_037.html
sourcePath: /source/zh/kunpengcctrustzone/tee/cVMcont/kunpengtee_zjsj_openclaw_037.html
indexId: 13e134aa43cc8f6997244135b9c631ebba5537a6d6b510f8b79f14030a7ffb3b75
---
# 启用强认证，禁用dangerouslyDisableDeviceAuth

禁止使用dangerouslyDisableDeviceAuth高危配置，该选项禁用设备身份验证。启用后，攻击者可能仅凭持有Token即可建立连接，无需完成设备配对，存在绕过设备身份验证的风险。

#### 操作步骤

关闭OpenClaw网关的高危开关。
```
openclaw config set gateway.controlUi.dangerouslyDisableDeviceAuth false
```
