Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

136
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!