Can I use IP addresses to limit API access

Posted by ed209 on Stack Overflow See other posts from Stack Overflow or by ed209
Published on 2010-06-14T17:57:12Z Indexed on 2010/06/14 18:02 UTC
Read the original article Hit count: 173

Filed under:
|

I have a mini API that is only for an app I have built. The API service is on a separate domain to my app. I make jsonp calls to it and receive json in return.

Therefore I only want my app to be able to access it. Can I just list a series of IP addresses for my app and allow them? Is there a better way to stop requests from anyone else to my API?

© Stack Overflow or respective owner

Related posts about api

Related posts about jsonp