| sanitize_file_path | R Documentation |
Validates and sanitizes file paths to prevent directory traversal attacks and ensure safe file operations.
sanitize_file_path(file_path, allow_relative = FALSE)
file_path |
Character string representing a file path |
allow_relative |
Logical. Allow relative paths. Default: FALSE. |
Sanitized file path or throws error if invalid
Other security:
is_api_key_configured(),
sanitize_domain(),
sanitize_hash(),
sanitize_ip(),
sanitize_url(),
security-utilities
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.