Make server app accept requests only from the client app in the same hosting – Apache
I have an angular and php apps hosted in the same shared hosting and are accessible from the same domain example.com. The php app expose a rest api, and I want this api to be accessible only from the angular…