TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The New Firebase Security API

265 pointsby mayop100over 12 years ago

21 comments

ibdknoxover 12 years ago
This is the one big thing that really needed to happen to Firebase to get it ready for the world and having worked with these guys a bit, I know it was a difficult problem to solve. I think the solution they came up with is actually pretty novel and exhibits the qualities I strive for these days:<p>1) It's as declarative of an approach as it can be without sacrificing flexibility.<p>2) It follows the structure of your data and is itself a datastructure that can be trivially manipulated.<p>3) It centralizes a concern. Security measures often end up spread all over the place, making it very difficult to reason about what is or is not correctly handled. Not so with this model.<p>I'm excited to see what people do with Firebase now that the one thing that was really holding it back has a solution. I know from my standpoint, it's certainly nice to have someone else dealing with the nightmares of real-time scaling and security so that I don't have to.
silverlightover 12 years ago
We've been using Firebase now for about 6 months to power Roll20[1], it's allowed us to grow from 100 to 1,000 concurrents without having to make any changes to our code or even think about handling the additional scale. That's incredibly valuable to us, since it frees us up to focus on creating features and helping customers, not worry about keeping yet another server from crashing. Andrew, Michael, and James have always been available to answer questions, and it's been a pleasure to watch Firebase grow. The new security API is just the icing on the cake for us since it will allow us to further fine-tune what different participants have the ability to do in our games.<p>I highly recommend it if you're looking at creating a real-time app!<p>[1] <a href="http://roll20.net" rel="nofollow">http://roll20.net</a>
toddmoreyover 12 years ago
This is really great work, guys. We've been using Firebase for a while now. The uptime, low-latency, and consistency have been impressive. A good security framework was really our last hurdle. We're digging in to the new security features and pretty happy so far. Another good resource (in addition to the blogpost above) is the quick start page. [1]<p>Also, one side note: it's not always clear from reading the docs, but changes to the security rules can be made dynamically and take immediate effect.<p>[1] <a href="https://www.firebase.com/docs/security-quickstart.html" rel="nofollow">https://www.firebase.com/docs/security-quickstart.html</a>
blake8086over 12 years ago
It's nice to see "Uses BCrypt for password storage" instead of hand-wavy "industry standard" or "strong encryption" or something like that.
评论 #4939122 未加载
mej10over 12 years ago
Has this been pentested or audited by a security firm?<p>I think this is awesome and I am glad you have it working. I'll be seriously considering Firebase for future projects.
评论 #4939238 未加载
评论 #4939253 未加载
评论 #4939203 未加载
incomethaxover 12 years ago
From any one of the many security experts that hang out here - can you give us an assessment of how secure this actually is?
评论 #4938836 未加载
JPKabover 12 years ago
I have a beta acccount and was waiting for this until I started playing around with it. Thanks! I'm pretty excited about building something on top of this platform.<p>The Scratchpad.io tool that has been on HN for the last couple of days has really blown me away with what Firebase is capable of. Keep up the good work guys!
nbashawover 12 years ago
We used firebase to power Scratchpad.io's back end (launched yesterday) and it was an awesome experience! The security features were super easy to use
tadrujover 12 years ago
I especially like Firebase tutorials and docs. After finishing tutorial on Firebase first launch I immediately knew where and how can I use Firebase in the future. When the time came we used it for real-time worker/web-app communication at <a href="http://dubjoy.com/" rel="nofollow">http://dubjoy.com/</a> and it worked like a charm. I still don't know how to use web sockets and I hope I never will :) While working with Firebase we needed some ACL-like security features and Firebase delivered again. Amazing.
buu700over 12 years ago
Congrats guys! This is seriously impressive; I'm really excited to finally be able to put out some production code with Firebase.<p>As an aside, the model you guys ended up with is fairly similar to the one I proposed back in April: <a href="http://news.ycombinator.com/item?id=3864430" rel="nofollow">http://news.ycombinator.com/item?id=3864430</a>
评论 #4939235 未加载
cjgover 12 years ago
The example given doesn't address CRSF. Does anyone know if the API can prevent them?
评论 #4939311 未加载
jnwngover 12 years ago
I like having the flexibility of being able to use Firebase's servers or my own, makes it easy to use for completely client-side apps, or alternatively you can throw it on top of a server-side application. Great work guys!
评论 #4939604 未加载
bonaldiover 12 years ago
Very interesting. How are rules updated dynamically? Take a Flickr picture for example. I start it as public, then later decide I want to make it friends &#38; family. How does the client side securely update those rules?
评论 #4938752 未加载
tehskylarkover 12 years ago
Great work, the documentation as well as the tutorial are very easy to read and understand.
yeldarbover 12 years ago
Been playing with the beta for the last few weeks and love it. Props to the Firebase guys.
Gilly_LDNover 12 years ago
This is a great update and really opens it up for a hackathon project that I wanted to extend after the event, but the security issues had meant that it was better to wait until now.<p>Well done James T. and the rest of the Firebase team.
aioprisanover 12 years ago
how is this different than meteor's security model?
评论 #4939803 未加载
评论 #4939527 未加载
ezeover 12 years ago
Does anybody know how much the Candle Plan is likely to cost once Firebase leaves beta? Assuming that plan will remain in place, that is.
评论 #4939794 未加载
fudged71over 12 years ago
I signed up just last night! Great to see such an intuitive product. Can't wait to start building with it :)
d0mover 12 years ago
So, the idea of using json rules rather than a simple javascript function is for speed performance?
评论 #4938602 未加载
评论 #4938599 未加载
rparetover 12 years ago
How does this compare to security offerings from other BaaS providers like Kinvey, Parse, etc?
评论 #4939421 未加载