Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to limit access to development version of APi proxy in Edge?

Not applicable

I have an API proxy with dev, test, and production environment in Edge. I would like to limit access to dev and test proxies to a list or a range of IPs. The production should be wide-open. How can it be done?

Solved Solved
0 6 523
1 ACCEPTED SOLUTION

akoo
New Member

Hi @Alexey Dmitriyev,

Please see documentation on the Access Control policy here. That will allow you to do exactly what you need.

For example, see the following to allow only following IP addresses:

<AccessControl name="ACL">
  <IPRules noRuleMatchAction="/DENY">
    <MatchRule action="/ALLOW">
      <SourceAddress mask="24">10.10.20.0</SourceAddress>
      <SourceAddress mask="24">10.10.30.0</SourceAddress>
      <SourceAddress mask="24">10.10.40.0</SourceAddress>
     </MatchRule>
  </IPRules>
</AccessControl>

View solution in original post

6 REPLIES 6