Risk of Manipulation of Ajax Code by Client

Viewed 46

As I found, it is possible to manipulate and change Ajax code in browser console by client. For example, Ajax wants to call a method and pass id to controller. As I mentioned above, how we can secure our code from interference by client?

Thank you all

1 Answers

Security must always be implemented on the server side, because anything you do on the client side can be ignored, overstep, modified, etc very easily. In fact, anyone can use software like Postman to make a completely custom HTML request to any server.

Don't ever rely on any client-side software in terms of security for your server. If you want keep your server safe, then make a safe server.

Related