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

90
Visualizações
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 Respostas
Responde à pergunta

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 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