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

256
Visualizações
How to provide this Firestore Security Rule

I am trying to write some security rules to my firestore. There is 2 section in my db, one of them is guest info and other one is passwords.

All the things about guest info works at my NextJS code.

But i am updating my passwords daily with another javascript file.

Here is the security rule of my db currently

allow read, write: if request.auth != null;

if i keep the rules like this i am not able to update my passwords with my other javascript file because i can not send authed request to firestore. How can i solve my problem?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

If the other JS file runs on a server, you can use Firebase Admin SDK instead that bypasses any security rules. Then you don't have to authenticate like in Client SDKs but just ensure that the script can be called by authorized users only.

about 4 years ago · Juan Pablo Isaza Relatório
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