title: Allow the URL to be hit from allowed IPs machines only in PHP?
body: <p>We have site made using CodeIgnitor PHP framework. We run a cron job to hit a URL with it.</p>
  
  <p>But with that URL it can be hit from any machine as it's function made that does task related to database.</p>
  
  <p>We want to make that function to be hit only within server IP OR specific IPs list so only that we will add our allowed machines can hit that URL?</p>
  
  <p>How we can do that?</p>