add ip and referer check for some services