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

139
Vistas
How does the backend verify that the front-end is in fact the real front-end?

Beginner Question Here: I am very new to fullstack development, and have been looking around at various beginner tutorials. One thing I do not really understand is how the backend and frontend "verify" that they are talking to each other. For example, if in a tutorial someone hosts the backend/api on Heroku, and the frontend on Netlify, how does the backend know that the get/post/put/delete request it is getting is actually coming from the legitimate frontend - and not some 3rd party who has tapped into it.

In the tutorials I am referencing the frontend is always told the URL of the backend API, but it never seems the backend is told where the frontend is, and where the requests will be coming from. I know this isn't the case, but it seems to me that anyone could just execute frontend code which triggers the backend into deleting/editing contents from the connected database.

If it would be easier to explain to me how this concept works, with an actual code-base you can reference - I'll link a tutorial I am slightly confused about below.

Tutorial: https://www.youtube.com/watch?v=aibtHnbeuio

Code from Tutorial: https://github.com/adrianhajdin/project_mern_memories

Any explanations would be of great help. Thanks in advance

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