> For the complete documentation index, see [llms.txt](https://docs.ironblocks.com/platform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ironblocks.com/platform/firewall/blacklist-and-whitelist-policy.md).

# Blacklist and Whitelist policy

The Whitelist and the Blacklist List policies on the Ironblocks platform empower developers to manage access to their blockchain protocol selectively. By configuring either a Whitelist or a Blacklist, you can specify which addresses are permitted or denied interactions. This policy offers the flexibility to dynamically adjust these lists by adding or removing addresses, providing direct control over access, and enhancing security measures against unauthorized interactions.

Deploy Blacklist and Whitelist policy:

Go to “Firewall” in the side Menu on the left to access the Firewall page.

<figure><img src="/files/mDlgXC0NIiNxKSfKTUtv" alt=""><figcaption><p><strong>firewall dashboard empty</strong></p></figcaption></figure>

Click “Add Policy” on the “My Policies” page or from the 'Policies Library" page.

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

Set Policy Configuration: Select the blacklist or whitelist, the network, and the contracts you want to protect.

Set the Policy Parameters: In the selected mode (Allow/Block), add the addresses you wish to permit or restrict access to.

<figure><img src="/files/qRL73XWsyi3ogZAJOh6W" alt=""><figcaption><p><strong>firewall "add policy", select Blacklist/Whitelist policy</strong> </p></figcaption></figure>

Confirm and deploy the policy, then confirm the signature and wait for the confirmation that the policy has been activated:

<figure><img src="/files/SMmtW8buwLJJpCamV99S" alt=""><figcaption><p><strong>whitelist/blacklist policy deploy window=. signature request</strong></p></figcaption></figure>

Once activated, you will see the Blacklist/Whitelist Policy active in the “My Policies” page:

<figure><img src="/files/P1YFQrexO8K5UEojA4ON" alt=""><figcaption><p><strong>My policies page shows active Whitelist/Blacklist policy</strong></p></figcaption></figure>

Expand the policy to see the policy on-chain address, the networks, and the assets it's protecting. You can also remove the policy or edit it if needed. Use the toggle to deactivate or activate the policy.&#x20;

<figure><img src="/files/bFfbrXOBTtykzZ4Tbkc5" alt=""><figcaption><p><strong>"active" toggle for blacklist/whitelist policy</strong></p></figcaption></figure>
