# IP 白名單

IP 白名單是指將授權的 IP 位址加入特定名單中，只有這些被列入白名單的 IP 才能夠訪問並使用 Swiftproxy 的代理服務。此機制可確保網路資源的安全，有效防止未授權用戶濫用代理服務。

## **如何設定白名單？**

1. 登入您的 Swiftproxy 帳戶並進入【使用者中心】
2. 點選【Whitelist】（白名單）
3. 將您需要授權的 IP 地址新增至白名單中即可

<figure><img src="https://www.swiftproxy.net/upload/20250205/4708df1a7b2a932be4a7a0dc812f681c.png" alt="" width="563"><figcaption></figcaption></figure>

## **為什麼需要設定白名單？**

1. **存取控制**：透過設定 IP 白名單，Swiftproxy 可以精準控制哪些用戶端可以使用其代理服務，有效防止未授權用戶濫用代理，降低潛在風險。
2. **資源保護**：代理伺服器會消耗網路頻寬與運算資源。透過白名單授權，可確保這些資源僅供合法用戶使用，避免資源遭濫用導致服務品質下降。
3. **防止濫用**：若不小心將代理服務公開（例如 API 連結外洩），在沒有存取控制的情況下，任何人都能使用該代理，可能導致過度使用、被封鎖，甚至被用於惡意行為。白名單授權能有效限制使用範圍，降低濫用風險。
4. **監控與追蹤**：白名單機制提供更好的存取監控與追蹤能力。透過記錄授權用戶的存取日誌，管理員能更輕鬆追蹤問題、分析使用情況，並及時應對異常狀況。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.swiftproxy.net/zh-tw/dai-li/zhu-zhai-dai-li/ip-bai-ming-dan.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
