> 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/eoa-only-policy.md).

# EOA Only policy

This policy is designed to restrict smart contract interactions exclusively to Externally Owned Accounts (EOAs), controlled by private keys and not by contract code. This is particularly beneficial for protocols that are primarily designed for direct user interaction. The policy allows inter-contract interactions but limits initiation access only to EOAs, thus securing your contracts against unauthorized executions by other contracts.

Deploy EOA Only policy:

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

<figure><img src="/files/vXfGgZx1Ldw0R6q7OhOn" alt=""><figcaption><p><strong>Policies dashboard, empty</strong> </p></figcaption></figure>

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

<figure><img src="/files/vRtTzrPep3drkUhj8L1T" alt=""><figcaption><p>Policies library</p></figcaption></figure>

Select the "EOA Only" policy option.

<figure><img src="/files/g5XwLgF2BeAhv1j3UPbh" alt=""><figcaption><p><strong>Add Policy => Policy configuration window</strong></p></figcaption></figure>

Set Policy Configuration: Select the EOA Only policy, the network, and the contracts you want to protect.

<figure><img src="/files/ixpBa1pBZNP7DuNzfsd4" alt=""><figcaption><p><strong>EOA config filled in</strong></p></figcaption></figure>

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

<figure><img src="/files/bEYw3SM7wVE7ZSIgazR3" alt=""><figcaption><p><strong>EOA policy signature</strong> </p></figcaption></figure>

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

<figure><img src="/files/sstNZIckssLUt33JfF3j" alt=""><figcaption><p><strong>My policies , with active EOA visible</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/vQCQkSstOAZcI3471EnG" alt=""><figcaption><p><strong>EOA policy edit button, and active toggle</strong> </p></figcaption></figure>


---

# 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://docs.ironblocks.com/platform/firewall/eoa-only-policy.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.
