定義受允許的 URL 清單
支援版本
- Windows 和 macOS 上,版本 77 或更新版本
- 從 30 起在 Android 上或更高版本
- 在 iOS 上 85 或更高版本
描述
設定該原則可讓您存取所列的 URL,作為 URLBlocklist 的例外。
根據 https://go.microsoft.com/fwlink/?linkid=2095322 來設定 URL 模式的格式。
您可以使用此原則來對限制性封鎖清單開放例外。 例如,您可以在封鎖清單中包含 '*' 以封鎖所有要求,然後使用此原則來允許對受限的 URL 清單的存取權。 您可以使用此原則來開放特定配置、其他網域的子網域、連接埠或特定路徑的例外。
最特定的篩選會判斷是否已封鎖或允許某個 URL。 允許清單優先於封鎖清單。
此原則限制在 1000 個項目;後續的項目會被忽略。
此原則也可讓瀏覽器自動叫用註冊為通訊協定處理常式的外部應用程序,例如「tel:」或「ssh:」。
如果未設定此原則,則 URLBlocklist 原則的封鎖清單中沒有例外。
此原則無法如預期地與 file://* 萬用字元一起執行。
支援的功能
- 可強制執行:是
- 可以建議:否
- 動態原則重新整理:是
- 每個配置文件:是
- 適用於使用 Microsoft 帳戶登入的設定檔:否
資料類型
- 字串清單
Windows 資訊和設定
群組原則 (ADMX) 資訊
- GP 唯一名稱:URLAllowlist
- GP 名稱:定義受允許的 URL 清單
- GP 路徑 (必要) :管理範本/Microsoft Edge
- GP 路徑 (建議):不適用
- GP ADMX 檔案名稱:MSEdge.admx
範例值
contoso.com
https://ssl.server.com
hosting.com/good_path
https://server:8080/path
.exact.hostname.com
登錄設定
- 路徑 (強制):SOFTWARE\Policies\Microsoft\Edge\URLAllowlist
- 路徑 (建議):不適用
- 值名稱:1、2、3、...
- 值類型:REG_SZ清單
登錄值範例
SOFTWARE\Policies\Microsoft\Edge\URLAllowlist\1 =
contoso.com
SOFTWARE\Policies\Microsoft\Edge\URLAllowlist\2 =
https://ssl.server.com
SOFTWARE\Policies\Microsoft\Edge\URLAllowlist\3 =
hosting.com/good_path
SOFTWARE\Policies\Microsoft\Edge\URLAllowlist\4 =
https://server:8080/path
SOFTWARE\Policies\Microsoft\Edge\URLAllowlist\5 =
.exact.hostname.com
Mac 資訊和設定
- 偏好設定索引鍵名稱:URLAllowlist
- 範例值:
<array>
<string>contoso.com</string>
<string>https://ssl.server.com</string>
<string>hosting.com/good_path</string>
<string>https://server:8080/path</string>
<string>.exact.hostname.com</string>
</array>
Android 資訊和設定
- 偏好設定索引鍵名稱:URLAllowlist
- 範例值:
["contoso.com", "https://ssl.server.com", "hosting.com/good_path", "https://server:8080/path", ".exact.hostname.com"]
iOS 資訊和設定
- 偏好設定索引鍵名稱:URLAllowlist
- 範例值:
<array>
<string>contoso.com</string>
<string>https://ssl.server.com</string>
<string>hosting.com/good_path</string>
<string>https://server:8080/path</string>
<string>.exact.hostname.com</string>
</array>