Google Maps and Woosmap Platform APIs and SDKs require you to send an API key with all calls. API keys act as unique identifiers that authenticate the calls you make to Google Maps and Woosmap Platform and ensure they are billed to the correct account.
To keep your integration efficient and secure and prevent any unwanted or unexpected usage of your Google Maps and Woosmap Platform, you'll have to restrict your API keys.
Assuming you have already created your Woosmap account.
This Key is a long string of generated characters preceded by woos-.
Next, see how to secure your key by applying restrictions.
You must have a Google account to generate a key for Google Maps API. If you have contracted your Google Maps Platform license through Web Geo Services, please use the Google Billing account we provide you. The name is in the form of "cutomername - WGS - for maps".
This Key is a long string of generated characters and looks like:
Restricting your API keys helps ensure your Google Maps and Woosmap Platform account is secure. To create a new Woosmap Project, you need to set at list one restriction. On Google Maps Platform, by default no restrictions are applied. We strongly recommend that you restrict your API key when you generate them. You can always change the restrictions later, if you need to.
Woosmap public key restrictions are the authorized domains and IPs from which the call to Woosmap API will be done. You can add or remove an authorized domain name in the project creation stage and from the Security and Access menu under the Basic tab.
Wildcard characters are acceptable for naming similar web sites. For example, *.woosmap.com accepts all sites ending in woosmap.com, such as https://developers.woosmap.com. Please, do not insert the protocol in front of your domain name. Both http and https are automatically supported without specifying them.
Google Maps API key restrictions are settings you apply to an API key that limit which applications, APIs, and SDKs can be used with that key. For example, you can specify that an API key can only be used to make calls from an Android app that has your app’s package name, or to the Geocoding API from a server with an IP address that matches the server your backend service is running on. API key restrictions make it possible for you to limit what a key can be used for, limiting your exposure if your key were compromised.
There are two types of API key restrictions: API restrictions and application restrictions. Application restrictions limit usage of the API key to a specific web site, web server, or application. Google Maps Platform supports four types of application restrictions:
Restricting an API key is fast and easy. You can do it at any time from the credentials page of the Google Cloud console.
If you want more detailed steps, watch the following video.
Here are some general guidelines you can use to determine strategies to protect your API keys.
Google published a document to help you applying this guidelines: Google Maps Platform API Key Best Practices
If you want to go further in the management of Woosmap API Keys, visit the Woosmap developers documentation.
If you have any questions about the content, please don’t hesitate to reach out to us through the documentation contact page. We are always interested in your suggestions and always available to satisfy you.
If you want to go further
Search engine company Baidu recently launched their mapping services, Baidu Maps, for overseas users [...]
Sometimes, recommending assets ordered by driving time or distance as the crow flies is not good eno [...]
The Woosmap Store Locator Widget allows a new level of personalisation. You can now fully customise [...]