Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 browsing the Monastery: (6)
As of 2014-10-01 23:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (40 votes), past polls