Validates and sanitizes file paths to prevent directory traversal attacks and ensure safe file operations.
sanitize_file_path(file_path, allow_relative = FALSE)Sanitized file path or throws error if invalid
Character string representing a file path
Logical. Whether to allow relative paths (default: FALSE)
Other security:
is_api_key_configured(),
sanitize_domain(),
sanitize_hash(),
sanitize_ip(),
sanitize_url(),
security-utilities