Skip to main content

Module security

Module security 

Source

Functionsยง

enforce_https
Check if URL uses HTTPS and enforce security policy
enforce_https_with_options
Check if URL uses HTTPS and enforce security policy with localhost override
validate_delete_path
Validate directory for deletion operations
validate_file_path
Validate file path for reads (prevents directory traversal)
validate_output_path
Validate output path for writes (additional restrictions)
validate_url
Validate URL for security (blocks SSRF attacks)
validate_url_with_options
Validate URL for security with localhost override option