improved access control

improved access control on a per-IP basis