I'm pretty surprised Google didn't have the client download the images instead. Wouldn't that be a better solution or am I missing something here? Pretty interesting though and if this becomes a big enough story you can bet Google will be changing something; the last thing they need is someone using Google Docs to DOS websites.
Google Docs is in HTTPS so they need to proxy the assets like Github does : https://github.com/blog/743-sidejack-prevention-phase-3-ssl-...
How I attacked myself using Google and I ramped up a $1000 bandwidth bill
31–40 of 152 posts
Re: How I attacked myself using Google and I ramped up a $1000 bandwidth bill
#32Earlier quoted context omitted.
You can put a robots.txt in the bucket.
No, you can't. It'd have to be at the root of http://s3.amazonaws.com/ . This is mentioned specifically in the article, in fact.
http://[bucket name].s3.amazonaws.com/robots.txtRe: How I attacked myself using Google and I ramped up a $1000 bandwidth bill
#33This was an extremely interesting article. I hope Google rectifies this type of behavior. This is actually pretty scary.
This isn't Google's fault. I could get a couple machines and do the same thing if I had a list of 250 gigs of files. And I wouldn't be limited to once every hour.
This is pretty clearly a different league of attack: rather than attacking systems or spending money, you'd be exploiting a Google feature to use Google's resource for free to incur a giant amount of data transfer.
Re: How I attacked myself using Google and I ramped up a $1000 bandwidth bill
#34It's really awesome that Amazon was reasonable and refunded the charges because they were accidental. I mean, technically it was still your fault, so it would have been easy for them to be jerks about it.
Re: How I attacked myself using Google and I ramped up a $1000 bandwidth bill
#35Earlier quoted context omitted.
You can put a robots.txt in the bucket.
Which will be ignored by Feedfetcher :-) Plus you cannot put a robots.txt at s3.amazonaws.com so if the url is accessed through the https://s3.amazonaws.com/... . url, the robots.txt will not work.
Re: How I attacked myself using Google and I ramped up a $1000 bandwidth bill
#36But, why re-downloading every hour? Does merely having the spreadsheet passively open in a browser trigger that, or was some other process re-loading the spreadsheet every hour? (If the former, I wouldn't be as forgiving of Google. I understand the desire not to cache possibly-private data, but proper URL design and conditional GETs should be able to prevent the entire download on an automatic hourly schedule. And ev…
Re: How I attacked myself using Google and I ramped up a $1000 bandwidth bill
#37It's really awesome that Amazon was reasonable and refunded the charges because they were accidental. I mean, technically it was still your fault, so it would have been easy for them to be jerks about it.
They wouldn't be jerks if they asked for the charges; you still generated the traffic and they had to pay for it.
Re: How I attacked myself using Google and I ramped up a $1000 bandwidth bill
#38Earlier quoted context omitted.
Google Docs is in HTTPS so they need to proxy the assets like Github does : https://github.com/blog/743-sidejack-prevention-phase-3-ssl-...
Interesting. I never thought of that. It seems almost silly that you're bringing insecure content over a secure channel like that but then again it is only images.
As long as they don't do WMFs, with their code-injection-by-design functionality...
Re: How I attacked myself using Google and I ramped up a $1000 bandwidth bill
#39This really underscores Amazon's glaring omission of a billing cutoff on Amazon web services. How hard would it be for them to let me say, cut off my services at $100/month? This is the main reason I'd never use AWS to host anything public.
I guess that would be a nice feature to offer as an option, but most people would not want their web service cut off if they get a spike in traffic.
Only if they are sure enough about their finances and their web service to be confident that the spike will be profitable.
Re: How I attacked myself using Google and I ramped up a $1000 bandwidth bill
#40Earlier quoted context omitted.
Which will be ignored by Feedfetcher :-) Plus you cannot put a robots.txt at s3.amazonaws.com so if the url is accessed through the https://s3.amazonaws.com/... . url, the robots.txt will not work.
You could put robots.txt in the bucket if you address it using the http://mybucket.s3.amazonaws.com/ alternative URL scheme - a robots.txt in the root of the bucket would then be available at http://mybucket.s3.amazonaws.com/robots.txt