Wordpress JSON API restrict to specific domain
I have installed and activated the Wordpress JSON API (http://wordpress.org/plugins/json-api) in my self hosted WP site. Now my site content is open to the world via this API in JSON format.
But, I want to restrict the access of this JSON API only to the requests that are coming from specific domain. Even though someone got to know that my site has JSON API enabled and the URL endpoint, they should see 'Access Denied' except the requests comes from a specific allowd domain.
How to implement this restriction in WP?
Thanks in advance.
Topic plugin-json-api htaccess Wordpress
Category Web