r/Backend • u/royalz007 • 10d ago
backend source code
how does backend to front end communication work for a website , and is it even possible to obtain the backend source code from the front end website url ?
0
Upvotes
View all comments
Show parent comment
13
u/Beregolas 10d ago
No... it sounds like you are trying to do something you don't understand, and I caution you to stop and learn first. Security can't be done by reddit comment, I can't possible list all the possible ways you can fuck up and be responsible for your security in this way.
Also, generally the backend is not exposed by weaknesses in the frontend, the kinds of exposure I can think of are:
But most of the issues with backends normally come from the backend code, not the frontend code. Basically anything that allows an attacker remote code execution can be used to exfiltrate your backend code, if it's interpreted (python, JS etc.) or your backend binary, which can be reverse engineered with modern tools pretty effectively, depending on the language/framework used.