The current File Upload component has no ability to restrict the type of file being uploaded, which means a custom solution (Apex trigger) is needed for this requirement.
It would be nice to have the ability to set the file types allowed within the component, like we can with file size, to eliminate the need for a custom solution.