News for hackers. Stuff that matters.
Re:Firebase 404 by Rhapso on Saturday August 10, 2013 @11:27AM (#6191371)
well, you are exposing the database at the javascript level. If it is javascript then you can mess with it in your browser via the developer console. So if you are using firebase via javascript your application is fundamentally insecure. You cannot even put serverside sanity checks like "this person should not ask for this value" or "nobody should have a string for a score" because of firebase's limitations.
Re:Firebase 404 by mikelehen on Sunday August 11, 2013 @12:06AM (#6193794)
There was a time when that was true, but these days you can easily do those sorts of things using Firebase security rules: https://www.firebase.com/docs/security/security-rules.html
Re:Firebase 404 by Kiro on Monday August 12, 2013 @09:43AM (#6199113)
I still don't see how setting security rules would prevent cheating. I would love to know how to fix this issue as I'm making a similar MMO game with Firebase.
Re:Firebase 404 by Rhapso on Sunday August 11, 2013 @12:25PM (#6195290)
Aha! My only use of firebase was writing a chat application for fun back at their launch marketing push. This is good to see, and I think I might go play with it more.
Re:Firebase 404 by abrkn on Sunday August 11, 2013 @05:33AM (#6194484)
You have obviously never tried Firebase.
Re:Firebase 404 by Kiro on Monday August 12, 2013 @09:57AM (#6199175)
So how would you prevent people from just setting whatever score they want in this game?