Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 3663

How to prevent user from modifying REST request?

$
0
0

This question might sound trivial, but even after reading a number of tutorials, I still don't get how the REST security should be implemented.

I have a webpage and soon-to-be-ready mobile app. Both of them will be using the REST API (written in node.js), and the question is - how can I prevent users from modyfing those requests? It's very easy to see the network traffic in the browser, and all the GET/POST requests that are made to the server. It also seems very easy to copy such a request, modify its parameters and/or payload and send it to the server.

How do I make sure that's my webpage or the app who made the request, and not someone else?


Viewing all articles
Browse latest Browse all 3663

Trending Articles