I have a file that will hold some sensitive data that are exported from a ERP legacy software that didn't have an API. I need everytime to read it with PHP to search for two values and then send back a response. I want to setup a microservice using slim framework, but my question is, how I can secure the access to the file by resticting it only to the ip address of the server that will need to access the data?