powered by
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. Allow relative paths. Default: FALSE.
Other security: is_api_key_configured(), sanitize_domain(), sanitize_hash(), sanitize_ip(), sanitize_url(), security-utilities
is_api_key_configured()
sanitize_domain()
sanitize_hash()
sanitize_ip()
sanitize_url()
security-utilities