File Upload Restrictions

Added validation rules to restrict the types of files that can be
uploaded.