Real-time system protection