I have a website that heavily uses JSON calls from jQuery to web services hosted in the same web domain. Many calls are made from the public pages that don't require visitors to login.
It appears that I can replay these JSON calls using Fiddler, which is a big problem, since now a malicious user can capture a Fiddler trace just by opening my site and then, all bets are off, who knows what he/she can do.
Is there a way to secure a web service, so only those JSON calls that are made from the site's pages are allowed on the server? I am using ASP.NET MVC on the backend.
Thank you.
Thank you all for contributing to this topic. I have a follow up question:
What about SSL? If I placed all my services in a folder secured with SSL, would that be a catch-all solution (at the expense of performance)? Thanks.