🛡️ SessionGuard
SessionGuard is a plugin for the Lumenite framework that provides secure session validation and request protection against bots, forgery, and unauthorized access.
✨ Features
- Per-session token validation
- Crypto-secure or fallback random token generation
- Blocks requests missing valid session tokens
- Supports both GET/POST request protection
- Configurable rate-limiting and expiry via
Config.json - Logs to
./logs/SessionGuard.log
🔧 Configuration
Edit the file: ./plugins/SessionGuard/Config.json
{
"token_mode": "crypto", // "crypto" or "rand"
"expire_seconds": 3600, // How long a session token is valid
"max_requests_per_minute": 120
}