Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

222
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda