-
-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to apply Google API key restrictions? #720
Comments
Maps indeed only support one Google API key |
OK. So you don't restrict your API key at all on your wikis? |
This was implemented in 2009, and the API keys have undergone some changes since then. Personally, I am not using Google Maps anywhere, so I am not up to speed. Your use case sound valid to me. Maps simply does not support it. So I do welcome PRs that add the feature. |
Alright. I could implement then sth. like this. The API key could still either be set as a string:
or now also as an array:
Makes sense? |
I would rather keep the setting always be a string and instead have a new |
To my knowledge, I can only set 1 Google API key with
$egMapsGMaps3ApiKey
, which then is used both forNow I'd like to create a key restriction in Google, to prevent that other people use my key (and then generate quota on my bill). Google offers me among others to restrict by
These are radio buttons so it seems I can only pick one of them at the same time.
So how can I meaningfully restrict my Google API key? I thought about creating 2 (one for map display, one for geocoder), but Maps seems to accept only one in the settings.
The text was updated successfully, but these errors were encountered: