控制 Web 藍牙 API 的使用
支援版本
- Windows 和 macOS 上,版本 77 或更新版本
- 自 138 起在 Android 上或更高版本
描述
控制網站是否能夠存取附近的藍牙裝置。 您可以完全封鎖或存取權或要求網站在每次想要存取藍牙裝置時詢問使用者。
如果未設定此原則,則會使用預設值 (AskWebBluetooth',表示每次都詢問使用者),且使用者可以變更此設定。
原則選項對應:
BlockWebBluetooth (2) = 不允許任何網站使用 Web Bluetooth API 來要求存取藍牙裝置
AskWebBluetooth (3) = 允許網站要求使用者授與附近藍牙裝置存取權
設定此原則時,請使用上述資訊。
原則選項對應:
設定此原則時,請使用此資訊。
- BlockWebBluetooth (2) = 不允許任何網站使用 Web Bluetooth API 來要求存取藍牙裝置
- AskWebBluetooth (3) = 允許網站要求使用者授與附近藍牙裝置存取權
支援的功能
- 可強制執行:是
- 可以建議:否
- 動態原則重新整理:是
- 每個配置文件:是
- 適用於使用 Microsoft 帳戶登入的設定檔:是
資料類型
- 整數
Windows 資訊和設定
群組原則 (ADMX) 資訊
- GP 唯一名稱:DefaultWebBluetoothGuardSetting
- GP 名稱:控制 Web 藍牙 API 的使用
- GP 路徑 (強制):系統管理範本/Microsoft Edge/內容設定
- GP 路徑 (建議):不適用
- GP ADMX 檔案名稱:MSEdge.admx
範例值
Do not allow any site to request access to Bluetooth devices via the Web Bluetooth API
登錄設定
- 路徑 (強制):SOFTWARE\Policies\Microsoft\Edge
- 路徑 (建議):不適用
- 值名稱:DefaultWebBluetoothGuardSetting
- 值類型:REG_DWORD
登錄值範例
0x00000002
Mac 資訊和設定
- 喜好設定索引鍵名稱:DefaultWebBluetoothGuardSetting
- 範例值:
<integer>2</integer>
Android 資訊和設定
- 喜好設定索引鍵名稱:DefaultWebBluetoothGuardSetting
- 範例值:
2