ZeqFirewall — Phase-Locked ACL
Phase-locked access control. Requests only valid within specific Zeqond windows. Define time-gated permissions that open and close on the HulyaPulse cycle.
| Endpoint | POST /api/security/firewall/check |
| Auth | api-key |
| Rate limit | 120/min |
| Category | security |
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
resource | string | Yes | Resource path to check access for. |
zid | string | Yes | Requester's ZID. |
zeqondWindow | array | No | Allowed Zeqond range [start, end]. If omitted, checks current phase rules. |
Returns
{ allowed, resource, zid, currentZeqond, windowActive, reason }
Example
curl -sS -X POST \
-H "Authorization: Bearer zsm_..." \
-H "Content-Type: application/json" \
-d '{
"resource": "<resource>",
"zid": "<zid>",
"zeqondWindow": []
}' \
"https://zeqsdk.com/api/security/firewall/check"
This protocol is a named building block — one of the operations you
compose inside a state contract. Call it directly with
the request above, or invoke it from a contract that fires on your machine's
clock. Browse the whole library at GET /api/protocols; fetch this one at
GET /api/protocols/zeq-firewall.