> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/docs/docs-ja/zen-firewall/zen-features/blocking-users-with-zen-firewall.md).

# Zen Firewallでユーザーを追跡する

Aikido の Zen Firewall は、不要なユーザーや攻撃を引き起こすユーザーを特定してブロックする方法を提供し、悪意のある活動を防ぐことでアプリのセキュリティを強化します。

### ユースケース <a href="#use-cases" id="use-cases"></a>

* 🔍 **アクティブなユーザーを監視中：** ユーザーのアクティビティを追跡して、潜在的な脅威を特定し、対処します。
* 🛡️ **悪意のあるユーザーをブロック**: セキュリティイベントを引き起こしたユーザーからのアクセスを防止

### ユーザーを特定する方法 <a href="#how-to-identify-and-block-users" id="how-to-identify-and-block-users"></a>

**ステップ 1:** 提供されたインストール手順に従って Aikido のミドルウェアを設定します。

{% content-ref url="/pages/38bd843dd9341a36ea2aa586595c2f04a98920fb" %}
[Zen Firewallをインストールする](/docs/docs-ja/zen-firewall/zen-installation-instructions.md)
{% endcontent-ref %}

**ステップ 2:** 次を使用してください: `setUser` アプリケーションのコンテキストで現在のユーザーを指定する関数。

設定すると、Aikido はダッシュボードにすべてのアクティブなユーザーを表示します。

![デモアプリのユーザーのステータスと最終アクティビティを表示するユーザー管理ダッシュボード。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-f26dcf004840ba016fd04fe74a10524105f62df8%2FScreenshot%202025-10-30%20at%2011.59.35.png?alt=media)

**ステップ 2:** ブロックするユーザーを特定し、三点リーダーをクリックしてアクションメニューを開きます。

![「アクティブ」ステータスを表示し、ユーザーをブロックするメニューオプションがあるユーザー管理テーブル。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-7e01e0b33313ce3527e06d1a8a385170f15a4b10%2FScreenshot%202025-10-30%20at%2011.59.44.png?alt=media)

{% hint style="info" %}
ユーザーのブロックは即時ではないことに注意してください。ブロックが有効になるまで最大1分かかります。
{% endhint %}

## 機能 <a href="#privacy--gdpr" id="privacy--gdpr"></a>

<figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-0f10130006a74da4b32928867e9e543f6f09395b%2FScreenshot%202026-04-23%20at%2010.54.28.png?alt=media" alt=""><figcaption></figcaption></figure>

### ユーザーをブロック

ユーザーのアクションメニューをクリックし、「ユーザーをブロック」アクションを使用することで、そのユーザーのアプリケーションへのアクセスを恒久的にブロックできます。

### レート制限を解除

ユーザーのアクションメニューをクリックし、「レート制限を無効化」アクションを使用して、特定のユーザーのレート制限を無効にできます。これにより、 **すべて** この特定のユーザーのレート制限がすべて無効になります。

## プライバシーとGDPR <a href="#privacy--gdpr" id="privacy--gdpr"></a>

ユーザー名の送信は任意ですが、ダッシュボードでユーザーを特定するのに役立ちます。個人を特定できる情報（PII）を共有する場合は、Aikido Security を処理者として記載する必要があります。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.aikido.dev/docs/docs-ja/zen-firewall/zen-features/blocking-users-with-zen-firewall.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
