I have several PHP scripts that are hosted on an Apache server on Debian. They are invoked from pages on my website and JS that is loaded from my server, where they are executed using AJAX/JQuery.
I would like to limit access so that only my pages on my server, and JS loaded from my server, can access there scripts, plus one or two other specific server IPs.
What is the best way to achieve this?
Thanks.
2.1m questions
2.1m answers
60 comments
57.0k users