I have made a simple PHP image proxy api that spits out a data URI, so I can use cross origin images in HTML5 canvas.
I want to secure the proxy so that it only processes my requests, from a single domain. Is there a way I can do this considering the api is accessed through client side JavaScript?