Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: security: making sure graphics uploaded by users are safe

by SFLEX (Chaplain)
on Sep 30, 2009 at 09:25 UTC ( #798260=note: print w/ replies, xml ) Need Help??


in reply to security: making sure graphics uploaded by users are safe

I use Image::ExifTool for that, it can replace the Image::Size you want to use and has error & warning's for the image files.
Also supports other file formats.
I normally us it to read the file and if there is and error of any sorts it gets deleted.

Run a virus check if you want to, guess it doesn't hurt to be safe.


What did the Pro-Perl programmer say to the Perl noob?
You owe me some hair.


Comment on Re: security: making sure graphics uploaded by users are safe

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://798260]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2015-07-03 16:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (53 votes), past polls