> 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 dynamically by asking a question.

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

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
