how to check virus for the uploaded files?

163 views
Skip to first unread message

saintthor

unread,
May 24, 2014, 10:34:03 AM5/24/14
to google-a...@googlegroups.com
i want to set a service for users to upload and download files. there may be virus or other risks in the files.

can i check them?

Vinny P

unread,
May 26, 2014, 4:14:28 AM5/26/14
to google-a...@googlegroups.com
On Sat, May 24, 2014 at 9:34 AM, saintthor <sain...@gmail.com> wrote:
i want to set a service for users to upload and download files. there may be virus or other risks in the files.
can i check them?



There are online virus-scanning tools you can use via API such as: https://scanii.com/ and https://www.virustotal.com/en/documentation/public-api/ . Alternately you can use a Compute Engine machine/Managed VM, install an anti-virus scanning engine, then run all your uploaded files through there.

If you don't want to handle virus scanning yourself, you could try requiring users to upload files from a trusted source. For example, Google Drive virus scans files under 25MB - you could have users upload to GDrive, then select files using the Drive API.


-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

saintthor

unread,
May 29, 2014, 2:57:29 AM5/29/14
to google-a...@googlegroups.com
thank you.

在 2014年5月26日星期一UTC+8下午4时14分28秒,Vinny P写道:
Reply all
Reply to author
Forward
0 new messages