Versions in this module Expand all Collapse all v1 v1.6.0 Dec 11, 2025 v1.5.0 Nov 15, 2025 Changes in this version + const MaxFileSize + func IsSecurePath(path string) bool + func ValidateFileAccess(path string) error + func ValidateInputFile(path string) error + type SecurityValidator struct + AllowSymlinks bool + AllowedExtensions []string + MaxFileSize int64 + WorkingDirectory string + func NewSecurityValidator() *SecurityValidator + func (v *SecurityValidator) Validate(path string) error