Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

BTW, is there any reason not to hook something like ClamAV into your upload function and scan files before they are saved?


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.


> 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: