News for hackers. Stuff that matters.
Re:Kids, this is story of How I Met... my VPS hacked by mhurron on Monday January 20, 2014 @02:50PM (#7091416)
BTW, is there any reason not to hook something like ClamAV into your upload function and scan files before they are saved?
Re:Kids, this is story of How I Met... my VPS hacked by trippy_biscuits on Monday January 20, 2014 @11:24PM (#7093425)
Obligatory xkcd: http://xkcd.com/463/

Why add more moving parts when they don't do anything but make more work? Scanning is a helpful idea, but not AV scanning. Regular vulnerability scanning can assess the platform security. At the very least, it can warn about potential security holes. It might also be plagued with false positives, causing more work for no added benefit. Safely running services on the internet is hard.

Re:Kids, this is story of How I Met... my VPS hacked by mhurron on Tuesday January 21, 2014 @02:01PM (#7097428)
> Why add more moving parts when they don't do anything but make more work?

Because in this case we're talking about intentionally accepting files from users to either integrate into the system or offer to other users. Why would you not at least check files for cleanness and reject any that fail instead of blindly accepting them because you wanted to enable file uploads.

Vulnerability scanning isn't going to tell you much when you want to accept files from users.