Skip to main content

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.

EndpointPOST /api/security/firewall/check
Authapi-key
Rate limit120/min
Categorysecurity

Parameters

NameTypeRequiredDescription
resourcestringYesResource path to check access for.
zidstringYesRequester's ZID.
zeqondWindowarrayNoAllowed 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.