~/talk

Five tips to secure your app

Talkat Firebase Summit 2018 · on Monday, 2018-10-29· [security]
links:none on file
slides:none on file

Five concrete security moves: authenticate with Firebase Auth and verify identity via a JWT ID token signed by Firebase, enforce authorization and schema with Cloud Firestore Security Rules (include required fields, types and allowed values), generate matching client models and rules with the Protocol Buffers rule generator, test rules locally with the Firestore emulator and console simulator, prefer Cloud Functions for complex server-side checks, note custom claims are limited to 1,000 bytes and may take up to an hour to propagate.

AI-written summary · about

  1. 0:00Intro
  2. 1:14Don't trust your client
  3. 2:21Okay, you can trust auth
  4. 2:44An overly-simplistic guide to Firebase Auth
  5. 4:495: Use Security Rules
  6. 5:04Firebase Rules are what stands between your client and your database
  7. 6:21Tip #2: Authorize your users
  8. 8:49Validate your schema
  9. 11:24Implement business logic checks
  10. 12:33But watch out for gotchas!
  11. 12:45Rules validate queries, not data
  12. 14:43Custom Auth Claims are Useful!
  13. 17:15Test Your Rules
  14. 18:47Consider Cloud Functions
  15. 21:23Listen to the warnings
  16. 22:57Keep your employees on a short leash
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.