Task: Implement a Domain-Restricted API Key System Similar to Google Maps
Task: Implement a Domain-Restricted API Key System Similar to Google Maps: a task in Terminal-Lego-15k (Harbor dataset). Google Maps requires API keys that are restricted to specific domains. When a request comes in, Google verifies that the HTTP Referer/Origin header matches the domain registered…
The task
Google Maps requires API keys that are restricted to specific domains. When a request comes in, Google verifies that the HTTP Referer/Origin header matches the domain registered for that API key. If the domain doesn't match, the request is rejected. While the Referer header can be spoofed from server-side requests,…
Part of PrimeIntellect/Terminal-Lego-15k.