Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by Anonymous Monk
on Sep 30, 2009 at 02:44 UTC ( #798227=note: print w/ replies, xml ) Need Help??


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

My concern is that, even with all those precautions, someone could still embed a virus in the image. How do I prevent this from happening? Should I use a module like Image::Magick to write a new image altogether? Do I need to run a virus check on each submitted image?

Yes, and yes, and you should do both under account with limited permission. You should also remove execute permission from image file.

You should also virusscan the files periodically. A good time would be when you update virus definitions.

This is reasonably everything that you can do.


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://798227]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2014-08-29 21:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (289 votes), past polls