System Configuration & Security Architecture

Cloudflare infrastructure parameters, access policies, and Android API test suite.

Cloudflare Backend Bindings

Infrastructure topology and local simulation status

Cloudflare D1 Database
Active
Binding: env.DB
14,683 MCQs • 552 Sets stored in normalized SQLite
Cloudflare R2 Object Storage
Active
Binding: env.IMAGES
3,615 PNG diagram assets (~134 MB)

Admin Dashboard Protection (Cloudflare Access)

Server-side verification of Zero-Trust headers

In production deployment, Cloudflare Access validates examinee emails and injects the header:

Cf-Access-Authenticated-User-Email: user@example.com
Allowlist: admin@ssc-cms.local, bitto@example.com (Configurable via ADMIN_EMAIL_ALLOWLIST environment variable)

Android API Security & Live Verification Suite

Verify that correct answers and explanations are never leaked during active examination

This test simulates an Android examinee starting an exam, inspects the HTTP response payload for answer key leakage, submits answers, and verifies server-side grading.