News for hackers. Stuff that matters.

Is Firebase secure even with your code on client-side?

I'm new to web development and am looking into using Firebase to get an application up and running. I was looking at the tutorials, and wondering if Firebase is safe? In the client-side code, you set up a reference to your Firebase data store.

Is this safe? The information is public (on the JS files), so what's stopping someone from copying your code and writing to your Firebase server?

( 1 comment | on HN )
Re:Is Firebase secure even with your code on client-side? by poseid on Friday October 24, 2014 @05:09AM (#8502798)
You can set permissions on collection in Firebase, see e.g. http://thinkingonthinking.com/build-your-email-list-with-fir... - additionally, you can provide OAuth authentication, and have user modify their own data.