To answer your question as asked, you simply compare your IP address to those values in the list and if it matches then it's authenticated. I suspect that that's not exactly the answer you're after though, but you haven't provided us with enough information for more without our having to guess what you're actually doing.