ESC
Type to search countries
Navigate

Application Scope

Development progress & changelog

3.8.2
Current Version
11
Platform Apps
40
Releases
152
Total Changes
63
Major Updates
460
Days Active

Platform Apps

11 applications — economies, history, maps, AI, crypto, sports, music, movies, religion, food & more

Explore All

Admin settings to enable/disable 2FA site-wide and require 2FA for admin accounts. Includes live adoption stats showing users and admins with 2FA enabled.

robots.txt dynamically generated to block scrapers from resource and download folders. Admin toggle to enable/disable scraper protection.

Admin GET Action Protection

All destructive GET-based admin actions (delete/toggle for announcements, ads, resources, paths, lessons, classrooms, API keys) now require a CSRF token and cast IDs to integer to prevent injection.

Security

Learning API Input Hardening

All 7 input handlers in api/learn.php now use InputSanitizer: enrollment, lesson completion, bookmarks, and path import. Slug validation, score range enforcement, and lesson content sanitization added.

Security

Classroom API Input Hardening

All 12 input handlers in api/classroom.php now use InputSanitizer: class creation, assignments, discussions, grading, rubrics, bulk import, and moderation. Array type checks added for nested inputs.

Security

Input Sanitization Library

New InputSanitizer class with 10 methods: text, richText, positiveInt, float, enum, email, url, slug, csvList, and json. Strips dangerous HTML (scripts, iframes, event handlers, JS URIs) while preserving safe formatting tags.

Security

CSRF Protection on Admin Panel

All admin POST forms (settings, announcements, ads, resources, learning paths, lessons) now include CSRF tokens. All destructive GET actions (delete, toggle) require a valid token parameter. Uses Auth::generateCsrfToken/verifyCsrfToken with 2-hour expiry.

Security

Admin Auth Hardening

Replaced hardcoded admin credentials with the Auth system. Admin panel now requires login via the users table with role-based access control — only admin and superadmin roles are permitted. Includes full Auth features: rate limiting, account lockout, and session management.

Security

RateLimiter and ApiMiddleware classes enforce per-key hourly rate limits with X-RateLimit headers and 429 responses.

API key requests now require authenticated users. Form pre-fills name and email from user profile. Non-logged-in users see a login prompt.

World Factbook Assistant

Ask me about any country or world data

Powered by World Factbook data • Answers sourced from country profiles

Stay in the Loop

Get notified about new data editions and features

Privacy & Cookies

We use essential cookies for site functionality. Analytics cookies help us improve your experience. You can manage your preferences anytime. Privacy Policy