# Caffi Maths school network acceptance Test on both a teacher device and a managed student Chromebook on the school Wi-Fi, with each device using its normal filtering policy. Use the separate synthetic accounts provided for the check. The results show Pass, Fail or Not run and available timings. The signed-out connection check measures HTTPS, download speed and the Firebase WebSocket handshake. Repeat using the synthetic account to test the protected services. Copy both reports for IT with device type, school network and test time. Each account and its synthetic leaderboard result are isolated. Nobody needs to enter a pupil name, school email or existing PIN. ## Browser allowlist for the planned release | Host or service | Transport | Purpose and scope | |---|---|---| | caffimaths.co.uk | HTTPS, TCP 443 | Central homepage | | unigol.caffimaths.co.uk | HTTPS, TCP 443 | Individual games and progress | | dosbarth.caffimaths.co.uk | HTTPS, TCP 443 | Classroom games | | tgau.caffimaths.co.uk | HTTPS, TCP 443 | GCSE revision | | caffi-maths-staging.web.app | HTTPS, TCP 443 | Temporary Firebase staging and fallback diagnostic hostname | | caffi-maths-staging.firebaseapp.com | HTTPS, TCP 443 | Temporary Firebase alias and the Auth helper origin if needed | | www.gstatic.com/firebasejs/ | HTTPS, TCP 443 | Earlier published diagnostic only. The new release serves the pinned SDK directly from the Caffi hostname. | | identitytoolkit.googleapis.com | HTTPS, TCP 443 | Firebase credential sign-in and account endpoints | | securetoken.googleapis.com | HTTPS, TCP 443 | Refresh and verify a Firebase sign-in token | | firestore.googleapis.com | HTTPS, TCP 443 | Firestore WebChannel and server reads. Allow normal streaming or the SDK’s long-polling transport | | caffi-maths-staging-default-rtdb.europe-west1.firebasedatabase.app | HTTPS and WSS, TCP 443 | The verified Belgium staging database and its client listeners | | *.europe-west1.firebasedatabase.app | HTTPS and WSS, TCP 443 | Firebase’s assigned regional RTDB hosts when clients are redirected. Start with the named host and narrow the exception to the observed redirects if the filter supports it | | europe-west1-caffi-maths-staging.cloudfunctions.net | HTTPS, TCP 443 | Synthetic answer submission. Allow the callable endpoint’s CORS preflight | | Production Firebase RTDB URL and any assigned regional host | HTTPS and WSS, TCP 443 | Substitute the exact URLs after production resources are provisioned and recheck from the Chromebook | | Production Cloud Functions endpoint, or same-origin API on each Caffi host | HTTPS, TCP 443 | Server-side marking, session management and progress updates. Confirm the final origins after deployment | | drive.google.com, docs.google.com and the specific Drive download/preview hosts observed in the browser | HTTPS, TCP 443 | Assigned resources, past papers, booklets and Google Drive preview/download. Capture redirects from representative files, including Googleusercontent if used | | accounts.google.com and the production Firebase Auth helper origin | HTTPS, TCP 443 | Only for flows that use Google sign-in. Email/password diagnostics use the two Firebase API endpoints above | | firebaseappcheck.googleapis.com, the selected reCAPTCHA origin and its Google static assets | HTTPS, TCP 443 | Only if the production web release enables App Check. Verify against the chosen provider and managed-device policy | | script.google.com and script.googleusercontent.com | HTTPS, TCP 443 | Existing sites during parallel running and bookmarked link handoff after approval | | School DNS resolver | School-standard DNS | The four public names and Firebase service hosts must resolve under the normal pupil policy | The final production hostname list depends on the regions, Auth provider, App Check provider, and resource URLs actually deployed. Confirm it using the teacher and student devices’ network traces before standardising the allowlist. Sheets and Drive APIs used only by the backend do not require student browser access. This diagnostic does not need Google Analytics, inbound firewall rules, or direct access to Firebase, Cloud Billing or Google Cloud administration consoles. ## Acceptance 1. Open `/school-check/` on the apex and each of the three subdomains on both devices. This checks the exact hostnames students will use. Run the nine checks and save both results. The transfer check uses a 256 KiB same-origin object. It measures effective transfer throughput from that host and also reports elapsed time. 2. Re-run on the Chromebook with an interrupted connection. Verify that an error appears within the configured timeout and a fresh run recovers. 3. Open the apex and each production subdomain directly on both devices when the certificates are active. Test sign-in, one maths question, one teacher-started multiplayer game, and representative PDFs and diagrams. 4. Compare per-device answer and leaderboard timings. Run live 6, 35 and 100 player tests plus separate concurrent rooms and a school-day soak before public cutover. 5. Keep all existing Apps Script links active until both school-network checks and production acceptance have been recorded. ## Provider references - [Firebase web SDK setup](https://firebase.google.com/docs/web/setup) - [Firebase Hosting reserved URLs](https://firebase.google.com/docs/hosting/reserved-urls) - [Firebase Realtime Database web SDK reference](https://firebase.google.com/docs/reference/js/database) - [Firebase callable functions](https://firebase.google.com/docs/functions/callable) - [Firebase App Check web provider](https://firebase.google.com/docs/app-check/web/recaptcha-enterprise-provider)