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

88
Vistas
What files can web users access from a React App on their browser?

I am working on deploying a React application with Redux. I have a client side and server side of the project.

After running the project locally with "yarn start," when I press F12, I can see the files of my react components and redux actions. My main concern is whether or not users can access these files, modify them, and execute them, which might lead to modifying my database and using someone else's profile.

So my question is:

  1. Do users have access to the src folder and its contents of a React application?

  2. Do users have access to the public folder and its contents of a React application?

  3. If so, can users modify the files inside these folders and execute them in a way that would cause problems like the ones mentioned above?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

All the answers are NO.

Once you want to publich the project, remember to run yarn build, which set the project to production mode and information like folders and source files are not included (by default).

However users can see compressed react components and redux actions and can modify and execute them on their local devices, but they cannot influence your files on servers or what other users get. But if your server side program can access database or write files, remember to verify EVERYTHING from client side to avoid attack.

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