Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

221
Views
How Firebase auth Really distinguish between real user or hacker?

Scenario

Fire store model

uid1
  name :john
uid2
  name : alex

Frontend

(react-firebase)

Login with credentials

Requesting Db to give the name of the user with uid = uid1

and User getting uid from firebase.auth.currentUser.uid ( something like this )

Backend

(node js admin sdk for firebase )

checking If uid is valid or not If valid give him the name = john

Hacker Scenario

Hacker got the uid some how

Now Requesting backend to give me data and backend is serving it as it is valid uid

Now user got alerted and change the password but acc. to firebase uid does not change so hacker still has the uid and can get the personal info without any Hassell

Help me !

What is the best practice and how to deal with this scenario can any body help me with it ?????

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!