I want to host a web based OpenERP application in a VPS Ubuntu 12.04 OS application. Can I restrict the application access to only assigned machines? In other words, I have 2 offices, and I need to restrict my employees from accessing this application only from office, but not from their home or outside in order to prevent losing my customer data. I think host-deny and host-allow might be able to help me. But I think we need static IP address for the same. I am not sure above solution. Basically I am looking for a solution without using static IP address. 
Restricting web application access to selected machines
webserver;denyhosts