Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2017-08-19 21:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (312 votes). Check out past polls.

    Notices?