Re:How to go from zero to 400,000 push notifications in one day
by ajlburke on Monday February 11, 2013 @10:36AM
(#5201269)
Nice post-mortem of a quirky bug. I think we're only going to be getting more problems as web services can change their APIs instantly, while iOS apps have a build-test-deploy cycle measured in weeks.
Re:How to go from zero to 400,000 push notifications in one day
by AUmrysh on Monday February 11, 2013 @10:52AM
(#5201363)
I think API versioning is important for this very reason. It's also important for developers to update their code to run on newer versions of the API so companies can drop support for the old API eventually.
Re:How to go from zero to 400,000 push notifications in one day
by dan1234 on Monday February 11, 2013 @11:03AM
(#5201421)
I'm pretty surprised that neither Apple nor StackMob had an upper limit for the number of notifications your account could send or a user's device could receive within a set time.
I wonder how many users have now uninstalled your app?
Re:How to go from zero to 400,000 push notifications in one day
by MProgrammer on Monday February 11, 2013 @11:58AM
(#5201773)
They're not sent "directly" -- they go through StackMob's servers. Urban Airship has a client library that can do the same thing, and it's widely used.
I can see how it's certainly possible for a spammer to do that with hackery, but there's a mechanism to revoke API keys and so forth if needed.
Re:How to go from zero to 400,000 push notifications in one day
by stickfigure on Monday February 11, 2013 @01:13PM
(#5202213)
Revoking your API key is the equivalent of taking your application offline. And there's no fix; as soon as you reissue your application (after waiting a week for Apple's approval) then the spammer has your API key again and can start sending pushes through StackMob/Urban Airship.
I send a lot of push notifications through my own servers. I made sure that spammers would have a hard time abusing it by constraining (server-side) who can send what messages to whom. Unless I'm missing something, StackMob has no defense against spam whatsoever.
If spammers aren't already abusing this, they will be soon.
Re:How to go from zero to 400,000 push notifications in one day
by MProgrammer on Monday February 11, 2013 @02:01PM
(#5202561)
I think it would help a lot if broadcast were unavailable via the client-side API. Without broadcast, an attacker would have to find out usernames or device tokens to push to. I'll suggest that to StackMob and see what they think.
Re:How to go from zero to 400,000 push notifications in one day
by mason55 on Monday February 11, 2013 @11:13AM
(#5201465)
Sounds like you're responsible for ensuring that your app only sends broadcasts when appropriate. If you create an app that lets end users send push notifications to an arbitrary list of users then that's on you for allowing it to happen.
Re:How to go from zero to 400,000 push notifications in one day
by stickfigure on Monday February 11, 2013 @01:16PM
(#5202230)
If the iOS application decides who to send messages to and what the content of the message should be, then anyone who downloads the app now has the ability to spam to any other user just by extracting the API key out of the binary and using the StackMob API directly.
Re:How to go from zero to 400,000 push notifications in one day
by hackmiester on Monday February 11, 2013 @11:45AM
(#5201683)
I wonder if there is any chance of seeing this app on Android. I know it's a small project and that seems silly, but hell, maybe I want to talk to iPhone users.
Don't get me started about Facebook
I wonder how many users have now uninstalled your app?
How does this API prevent spammers from hijacking your app credentials to send pushes to all your users?
I can see how it's certainly possible for a spammer to do that with hackery, but there's a mechanism to revoke API keys and so forth if needed.
I send a lot of push notifications through my own servers. I made sure that spammers would have a hard time abusing it by constraining (server-side) who can send what messages to whom. Unless I'm missing something, StackMob has no defense against spam whatsoever.
If spammers aren't already abusing this, they will be soon.