> For the complete documentation index, see [llms.txt](https://docs.toomuchmedia.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.toomuchmedia.com/nats-admin/members/login-protection.md).

# Login Protection

*Article Topics:* [*Members*](/getting-started/common-topics/members.md)

The Login Protection page lists banned and whitelisted members, allowing you to manage member access efficiently. It provides detailed information on ban and whitelist actions, including the reasons, timestamps, and whether the action was performed automatically or by an admin.

<figure><img src="/files/UtHiltWoUI4hyC5jdWyd" alt=""><figcaption></figcaption></figure>

## Table Details

The Bans/Whitelist table has pieces of information that are associated with a recorded Ban or Whitelist action, such as:

* **Member:** The Member who is Banned or Whitelisted.
* **Start:** The effective start time of the Ban or Whitelist.
* **End:** The effective end time of the Ban or Whitelist.
* **Status:** Whether the ban or whitelist is still active or has finished.
* **Added By:** The name of the administrator or system that enforced the ban, along with the reasoning.
* **Actions:** The action to perform on the specific Ban or Whitelist, whether that is to:
  * Update: Modify the Reasoning and/or End date.
  * Remove: Remove the ban or whitelist.

## Adding a Ban

To add a new ban, ensure you have the "**Bans**" tab highlighted, then click the "Add Ban" button at the top-right of the page. This will display a widget where you can search for a member by their ID or username, provide an optional reason for the ban, and select the end time for the ban.&#x20;

<figure><img src="/files/IBdUSKjSoUEWWhfXkTFq" alt=""><figcaption></figcaption></figure>

## Adding a Whitelist

To add a new whitelist, ensure the Whitelist tab is highlighted, then click the "Add Whitelist" button at the top-right of the page. This will display a widget where you can search for a member by their ID or username, optionally provide a reason for the whitelist, and select the whitelist end time.&#x20;

<figure><img src="/files/XnPeXR9eXXzYDIjwhffo" alt=""><figcaption></figcaption></figure>

## Related Articles

{% content-ref url="/pages/dkxu26EhpOuktINDGcuc" %}
[Member Overview](/nats-admin/members/member-overview.md)
{% endcontent-ref %}

{% content-ref url="/pages/uiooj2nhq58MF6kad0iF" %}
[Password Sharing Prevention](/nats-admin/members/login-protection/password-sharing-prevention.md)
{% endcontent-ref %}


---

# 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:

```
GET https://docs.toomuchmedia.com/nats-admin/members/login-protection.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.
