Skip to content

About

One-time activation code system (Flask) — time-based tokens that expire in 10 minutes and prevent replay attacks

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Activation Code Security

One-time activation code system built with Flask. Codes are teacher-issued, single-use, and expire after 10 minutes.

Security model

  • One-time tokens — each code can be redeemed exactly once
  • Time-based expiry — codes automatically rejected after 10 minutes
  • Replay-attack prevention — used, shared or leaked codes become useless

This prevents students from starting exams without explicit teacher approval.

Tech stack