in reply to
Security issues when allowing file upload via CGI
for images, you can use Image::Magick's ImagePing method to very quickly learn if it is a valid image or not
Comment on
Re: Security issues when allowing file upload via CGI
In Section
Seekers of Perl Wisdom