How kajal-dhanjal/ict-project-a works
Project type and purpose
• This is a full-stack web application: a Python/Flask-based Identity & Access Management (IAM) system tailored for aged care facilities.
• It provides secure authentication (MFA, JWT), role-based access control, honeypot intrusion detection, activity logging, and a responsive HTML/CSS/JS frontend.
File structure
• Top-level files:
• app.py – Flask application entry point and REST endpoints
• README.md, requirements.txt, .env – configuration and docs
• Top-level directories:
• security_protocols/ – all security modules (TLS, authentication, MFA, JWT, RBAC, honeypot, monitoring, password reset, password policies, session management)
• supabase_client/ – wrapper for Supabase database/auth API
• tools/ – utility scripts (e.g., log generation)
• web_interface/ – static assets and Jinja2 templates for UI
Key insights from README
• Core components: Flask backend, Supabase PostgreSQL backend & Auth, SMTP mail server, HIBP API, PyOTP TOTP generator, bcrypt hashing
• Security layers: CSRF protection, JWT session handling, MFA (TOTP + QR code), RBAC permissions, honeypot application (Node.js server.js), intrusion logging
• Monitoring: activity and intrusion logs
• Frontend: role-specific dashboards and forms
Detailed capturing of essential elements
• Certificate management (TLS/cert) next to transport layer
• Log storage next to the monitoring module
• Interaction with Supabase both for authentication and data storage