php - How to enforce API calls are coming from authorized site -


what need (what request parameter) need check make sure calling api indeed domain associated key, , key isn't being used on multiple domains?

$_server 'remote_addr' or 'remote_host'

$ip   = $_server['remote_addr']; $host = $_server['remote_host']; 

Comments

Popular posts from this blog

delphi - TJvHidDeviceController "DevicePath" always showing "\" -

java - where to store the user credentials in an enterprise application(EAI)? -

java - netbeans "Please wait - classpath scanning in progress..." -