I have a Spring Rest webservice which I call from my website (html pages), So anyone can retrieve the webservice URL from source code of a html pages.
Both webservice and website are deployed in the same server (id address: X.Y.Z.T)
My object is to prevent other people to call the rest service without passing by my site
Is there any way to restrict access to the webservice so that it can by called only by the id address X.Y.Z.T (where the website is deployed)?
Or another way?
Thanks for your help!