+ 7
How do I verify the requests on javascript and nodejs?
I am working on my own ad network and I want that the requests to the server cannot be initiated by the user but only by the code Of course, seeing the network panel in chrome devtools anyone can easy analyse what path the request goes and what it does This can lead to sending of fake requests. How can I prevent this? Note: I've heard that one can use csurf tokens for this purpose but even then I have trust issues like the token provided can even be copied by the user and send with their manual request so, how can I be safe from these types of attacks? Please help me...
3 Answers
+ 5
There's never a 100% safe way to stop everyone from doing the wrong thing, especially for things online.
The harder you make it, the more you might discourage a larger amount of (lazier/opportunistic) people. The determined person will see it as a challenge.
+ 3
Ausgrindtube I tried to solve it also do you know how to implement csurf?
The current express csuef package is depriciated so which other csurf libraries can be used and how?
- 2
Ssijcie jaja starca