FLUTTER ECOSYSTEM

safe_url_check

Check if an untrusted URL is broken, without allowing connections to a private IP address.

Latest version
1.1.2
30-day downloads
323K
Likes
30
Pub points
160

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

The safe_url_check package enables secure validation of untrusted URLs by verifying their accessibility without establishing actual network connections. It prevents potential security risks by blocking access to private IP addresses and ensuring only safe, publicly reachable URLs are processed. Designed for use in environments where URL integrity and safety are critical, it provides a lightweight, reliable way to check URL validity while maintaining strict security boundaries. The package is particularly useful in applications that handle user-provided links or external resources.

Use cases
  • Validating user-inputted URLs
  • Preventing access to private IPs
  • Securing external resource loading
  • Protecting against malicious URLs
  • Ensuring safe web navigation
Key features
  • Blocks private IP address access
  • No actual network connections made
  • Lightweight URL validation
  • Cross-platform support
  • Secure by default
Suitable for
  • Security-sensitive apps
  • User-generated content processing
  • API endpoint validation
  • Privacy-focused applications
  • Network safety checks
Considerations
  • Does not fetch content, only validates structure
  • Requires careful integration with network logic
  • Not suitable for full HTTP requests
  • Limited to URL safety checks
  • Depends on correct usage in app flow
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add safe_url_check

Categories

Dependencies

Dependency list 2 items

Source repository

Related projects