# Security Architecture

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

| Layer          | Protection                                                                  |
| -------------- | --------------------------------------------------------------------------- |
| Network        | Web application firewall (bot control, injection prevention, rate limiting) |
| Transport      | TLS 1.3, HSTS                                                               |
| Authentication | Privy JWT + API keys (hashed, never stored in plaintext)                    |
| API            | Per-key rate limits, per-IP rate limits                                     |
| Data           | IPFS CIDs gated behind authentication and purchase verification             |
| Contracts      | UUPS upgradeable proxies, OpenZeppelin battle-tested libraries              |
| Access Control | Role-based: user, creator, admin                                            |


---

# Agent Instructions: 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://cluster-protocol.gitbook.io/whitepaper/technical-architecture/security-architecture.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.
