๐Ÿ”’ Security at Educational Bloom

How AariNAT protects student data, fee records, and school operations

NDPA 2023 Compliant ยท Firebase Secured ยท Nigeria Data Residency Policy

Our Security Commitment

Educational Bloom is built to protect the data of Nigerian students, parents, and schools. We apply security controls across every layer of the platform โ€” from how passwords are stored to how Firestore database rules are written and tested. This page describes what we do, how we do it, and how to report a concern.

Authentication & Access

Password Storage

All passwords are hashed using SHA-256 via the Web Crypto API before being written to Firestore. Plaintext passwords never leave the user's device. Legacy plaintext passwords are automatically migrated on first login.

Role-Based Access Control (RBAC)

Four roles exist within every school account. Access is enforced at two layers:

Client-side gates (JavaScript) prevent navigation. Server-side Firestore rules enforce the same restrictions on all database reads and writes โ€” bypassing the app via browser console or API does not grant access.

Session Management

School sessions persist in localStorage with school ID binding. Portal admin sessions expire after 8 hours. Agent sessions persist until manual logout.

Data Protection

What data we store

Data TypeWho Can AccessEncrypted
Student names, phone, classSchool staff onlyIn transit (TLS) + at rest (Firebase AES-256)
Fee records & payment historyPrincipal + Bursar onlySame
Academic scoresPrincipal + assigned teacherSame
Attendance recordsPrincipal + class teacherSame
Staff credentialsPrincipal (hashed passwords)SHA-256 hashed
Agent deal submissionsAariNAT admin onlySame

Data residency

Data is stored on Google Firebase Firestore. AariNAT has configured the Firebase project in alignment with Google's data processing terms. For NDPA 2023 compliance documentation, contact aarinat.company.limited@gmail.com.

Third-party processors

ProcessorPurposeData sent
Google FirebaseDatabase, Auth, HostingAll school records
GroqScore sheet OCRRegister photos (optional feature)
HuggingFaceOCR fallbackRegister photos (optional feature)
OCR.spaceOCR fallback 2Register photos (optional feature)
GitHub PagesApp hostingNo personal data

The OCR features that send photos externally are PREMIUM features โ€” only active when the school enables score sheet scanning. Raw student names in register photos may be processed by Groq/HuggingFace.

Infrastructure Security

ControlStatus
HTTPS / TLS everywhereโœ… Enforced
Firestore security rulesโœ… Active + tested
Firestore catch-all defaultโœ… DENY (if false)
Password hashing (SHA-256)โœ… Active
XSS output encodingโœ… Active (esc() + apostrophe fix)
Commission rate server validationโœ… Active
Automated pentest on every pushโœ… GitHub Actions
AI architecture review on every pushโœ… Claude Sonnet
Firebase Auth for admin operationsโœ… Portal requires auth
Per-school Firebase Auth (RBAC enforcement)๐Ÿ”œ In progress
DDoS protectionGitHub Pages CDN
Multi-factor authenticationโณ Planned

NDPA 2023 Compliance

Educational Bloom operates under the Nigeria Data Protection Act 2023 (NDPA) and is regulated by the Nigeria Data Protection Commission (NDPC).

Reporting a Vulnerability

If you have discovered a security vulnerability in Educational Bloom, please report it responsibly. Do not publish or exploit it.

๐Ÿ“ง aarinat.company.limited@gmail.com
๐Ÿ“ฑ WhatsApp: +234 814 507 3941

We aim to acknowledge reports within 48 hours and resolve critical issues within 7 days. Responsible reporters will be credited in our security changelog.

Scope

Contact

Security
aarinat.company.limited@gmail.com
WhatsApp
+234 814 507 3941
Company
AariNAT Company Limited RC-1732521
Regulator
NDPC โ€” ndpc.gov.ng