> [!WARNING]
>
> **Preview**
>
>
> This product or feature is
>
> subject to the "Pre-GA Offerings Terms" in the General Service Terms section
> of the [Service Specific
> Terms](https://docs.cloud.google.com/terms/service-terms#1).
>
> Pre-GA products and features are available "as is" and might have limited support.
>
> For more information, see the
> [launch stage descriptions](https://cloud.google.com/products/#product-launch-stages).

Secure Web Proxy provides centralized, policy-based control for your organization's
outbound web traffic. Service Extensions extensions for
Secure Web Proxy help you insert your custom services directly into the
Secure Web Proxy traffic processing path by using callouts. This page
provides an overview about Secure Web Proxy extensions.

Secure Web Proxy supports [authorization extensions](https://docs.cloud.google.com/service-extensions/docs/lb-extensions-overview.md.txt#authorization-extensions)
by using callouts.

## How Secure Web Proxy extensions work

Service Extensions callout extensions can send gRPC callouts
from the traffic processing path to custom services.
[![Secure Web Proxy uses callouts to add custom services in the traffic processing path.](https://docs.cloud.google.com/static/service-extensions/images/swp-processing-path.svg)](https://docs.cloud.google.com/static/service-extensions/images/swp-processing-path.svg) Secure Web Proxy uses callouts to custom services in the traffic processing path (click to enlarge).

By making a real-time gRPC call to an external service that you manage, you
can inspect, modify, or even block traffic before it continues to its
destination. This feature transforms Secure Web Proxy into a programmable
platform that helps you integrate your outbound data transfer flows and AI
agent flows with specialized security providers, implement custom
authentication or authorization solutions, and enforce bespoke business logic.

Service Extensions for Secure Web Proxy supports the use of
[authorization extensions](https://docs.cloud.google.com/service-extensions/docs/lb-extensions-overview.md.txt#authorization-extensions)
to intercept and evaluate requests and content that pass through a
Secure Web Proxy instance.

When a client sends an outbound data transfer request through a
Secure Web Proxy instance, the extension inspects the data based on the
the configured [authorization policy](https://docs.cloud.google.com/load-balancing/docs/auth-policy/auth-policy-overview.md.txt).

In the data path, authorization policies are evaluated after performing TLS
interception on the inner payload. Authorization extensions based on request
authorization policies run before those based on content authorization policies.

## What's next

- [Cloud Load Balancing callouts overview](https://docs.cloud.google.com/service-extensions/docs/callouts-overview.md.txt)
- [Configure an extension for Secure Web Proxy](https://docs.cloud.google.com/service-extensions/docs/configure-extensions-for-swp.md.txt)