# Check File Uploads for Viruses

**URL:** <https://www.ruby-forum.com/t/check-file-uploads-for-viruses/197157>\
**Category:** Rails\
**Created:** [November 16, 2007, 11:55pm UTC](https://www.ruby-forum.com/t/check-file-uploads-for-viruses/197157 "2007-11-16T23:55:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TTDaVeTT](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/91b2a8/32.png) [@TTDaVeTT](https://www.ruby-forum.com/u/TTDaVeTT)\
**Post date:** [November 16, 2007, 11:55pm UTC](https://www.ruby-forum.com/t/check-file-uploads-for-viruses/197157/1 "2007-11-16T23:55:51Z")

</div>

I am currently developing a social networking site using RoR that uses  
the attachment\_fu plugin to handle image uploads. I also want to  
enable users to upload photoshop files, but am worried about security  
vulnerabilities because I want other users to be able to download  
these photoshop files. What is to stop someone from uploading a  
malicious file (i.e. virus) just by changing the extension? I don’t  
want someone downloading a file with a virus on it from my site. Is  
there any way to screen files for viruses when they are uploaded in  
RoR? Any thoughts? Thanks.
