Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Log into your Google account.

  2. Go to the Google Maps Platform > Credentials page.

    Go to the Credentials page

  3. Select the API key that you want to set a restriction on. The API key property page appears.

  4. Under Key restrictions, set the following restrictions:

    • Application restrictions:

      1. To accept requests from the list of web server IP addresses that you supply, select IP addresses (web servers, cron jobs, etc.) from the list of Application restrictions.

      2. Specify one IPv4 or IPv6 address or a subnet using CIDR notation (e.g. 192.168.0.0/22). If you need to enter another entry, a new box appears after you complete adding the previous entry.

    • API restrictions:

      1. Click Restrict key.

        1. Select Places API from Select APIs dropdown. If the Places API is not listed, you need to enable it.

        2. Select …

  5. To finalize your changes, click Save.

  6. Make a copy of your API key and keep it safe.