Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

249
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda