firebase

Learning "Eloquent JavaScript"

I've been "developing" in JavaScript for nearly 10 years. To be honest, I've mainly been using libraries and frameworks like jQuery, prototype(gasp!), mooTools, Ext JS, and AngularJS. There's been a lot of criticism of frameworks recently. Some feel that frameworks are simply too costly in terms of performance. However…

API Versioning Trick for Firebase

Many people make the mistake of thinking that Firebase is simply a way to sync data between devices. Without digging any deeper, you might think it's a bit of a one-trick pony. Anyone that's ever seen a demonstration of Firebase, will know that Firebase is way more than this. Firebase…

Firebase Security Rules Proposal : Restricted IP Addresses

If you're using backend processors with Firebase, you probably know not to be authenticating the server with your Firebase secret. Instead you should be using custom tokens. Many people, ahem, use custom tokens with an "admin" : true flag in the payload. With the admin flag, Firebase ignores all security rules…

Retrieving Firebase User Accounts Without Forge

UPDATE : I decided to make a sample using jq to pretty print the output files. That script is at the bottom of this post. I also added an automatic date/timestamp to the output files. With the recent migration of Kids In Touch to Firebase, I've run into a few…

Ensuring Unique Mobile Numbers with Firebase

SUBTITLE : Without getting Snapchatted. Credits: This workflow is based on a Stackoverflow answer from Kato. Quite often, an online service's signup process requires the user to enter their mobile number. They need to make sure the user owns the number and will usually verify it via SMS. However, they can't…

Firebase Validation Rules Proposal

A while back, I wrote about problems with performing validation with Firebase. In an email exchange with Firebase, the representative indicated that providing more information was a security risk. I can see some logic in that, but I don't really agree with it. Firebase just responding with "PERMISSION_DENIED" is…