For certain Restful URIs I want to block certain domains from executing the requests. How can i do this with Apache? Is it possible
For example:
- www.nottrusted.com calls my Restful Api
- Apache identifies the request is coming from a non-authorized site
- Apache blocks the caller and returns a 401
Is this possible? Is it easy for someone one spoof the domain? If a request comes from server side code of nottrusted.com will Apache catch the request?