Configure the Access Control Policy

Use SAP API Management’s Access Control policy to enforce IP allowlisting at the API-proxy layer as an additional defense-in-depth control.

When to use
  • You need proxy-level control/auditing per API.

  • Compliance requires layered enforcement beyond WAF/firewall.

  • Temporary, API-specific allowlists are needed without changing perimeter rules.

Follow the steps below to apply the AccessControl policy in your API Proxy:

  1. Select API proxy and click Policies.
  2. Click Edit.
  3. Select ProxyEndpoint.
  4. Select PreFlow.
  5. Under Traffic Management Policies, choose Access Control.
  6. Click on the + button to add the policy.
  7. Enter the Policy Name, set the Stream as Incoming Request and click Add.
  8. Click Save.
  9. Deploy this revision
  10. Test from allowed vs. non-allowed IPs to confirm behavior.
Important Considerations
  • Enforcement is per-proxy; perimeter/WAF rules still apply first.

  • Use /32 for exact IPs; use CIDRs (e.g., /24) only when justified.

  • Ensure Cloud Connector/API Gateway preserves the client IP (e.g., X-Forwarded-For) so the policy matches the real source.

  • Keep proxy allowlists in sync with perimeter rules to avoid drift.