WordPress 1.2.0 Hooks, Functions, Classes and Methods
Page 5

validate_file()

Validates a file name and path against an allowed set of rules.