Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: Preventing Chrome Malware Warnings When Image Search API
1 point by silverlight on Dec 28, 2011 | hide | past | favorite
I'm using Google and Bing image search APIs to provide a way for users of my web app to search for images to include in the documents they create in the app. A (rare?) problem I encountered today: a result from either Bing or Google (I'm going to assume Bing) caused the Google Chrome Malware detector to go off.

Is there any good way to avoid this that I'm not aware of, aside from only using the Google Image API (which is being deprecated!) since I assume they filter out results from sites they think contain malware?

There doesn't seem to be any performant way on my end to check these results before displaying them to prevent this error from occurring, and I'm very worried that any less savvy computer users will think my site is at fault (not to mention being unable to make the warning go away).

I guess I'm also making the assumption here that images from random Internet sites are okay to include in the page as long as they are returned by these APIs...I do copy them over to our own S3 account a few minutes after they are added to the document in case they are changed/removed on the external site...

EDIT: The result is indeed being included from the Bing API, and it is from thefatlossauthority.com.



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

Search: