Expand description
Input validation and sanitization for netwatch
This module provides secure validation functions for all user inputs to prevent injection attacks, path traversal, and other security issues.
Functionsยง
- sanitize_
user_ input - Sanitizes user input by removing or escaping dangerous characters
- validate_
bandwidth - Validates bandwidth values to prevent overflow and unrealistic values
- validate_
config_ string - Validates configuration strings for injection attacks
- validate_
file_ path - Validates file paths for logging and configuration
- validate_
interface_ name - Validates network interface names to prevent path traversal and injection
- validate_
refresh_ interval - Validates refresh interval values