I developped an ASP.NET MVC web site. In this site I have some url, for example, site.com/url/
where I can send post request to and get some response.
How can I disable getting results from this url for requests from different domains and allow getting results only for requests from domain site.com
?
I read about CORS but I don't know whether it can be used in my case.