Refine technical documentation to reflect current architecture, component structure, and routing conventions for the vcon console.
10 lines
551 B
Markdown
10 lines
551 B
Markdown
# Security Engine Manifest
|
|
|
|
## Purpose
|
|
Enforces per-client sliding-window rate limits, payload size bounds, and event idempotency deduplication (`core/Security/security.ts`).
|
|
|
|
## Key Responsibilities
|
|
- **Idempotency Deduplication**: Rejects duplicate `clientId:eventId` pairs within a 5-minute TTL window.
|
|
- **Sliding-Window Rate Limiter**: Enforces the lower of the client's configured `rateLimit` and the global `maxEventsPerSec` limit.
|
|
- **Payload Size Guard**: Rejects individual event payloads exceeding `maxPayloadSizeBytes` (default `100 KB`).
|