jsonp - Can I use IP addresses to limit API access -


I have a small API that is only for apps I have created API service for my app on a separate domain I call it jsonp and in return get json.

So I just 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 it a better way to stop requests from someone else than my API?

The best way to implement IP-based filtering will be at the web-server level. Here is a brief introduction if this happens then your web-server.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -