Palo Alto Networks firewalls can insert user identity information, such as the username and domain, into HTTP headers of outbound traffic. This feature enables downstream devices to enforce user-based policies without requiring direct access to the firewall's user mappings.
The process involves:
X-Authenticated-User
).
For HTTPS traffic, SSL decryption must be enabled to allow header insertion.
Objects > Security Profiles > URL Filtering
.
X-Authenticated-User
to edit it.
($domain)\($user)
WinNT://($domain)/($user)
($domain)
and
($user)
dynamic tokens (e.g.,
($user)@($domain)
).
For detailed guidance, refer to the official documentation: Insert Username in HTTP Headers .
sequenceDiagram participant User participant Firewall participant DownstreamDevice User->>Firewall: Send HTTP/HTTPS Request Firewall->>Firewall: Retrieve User Info (Username & Domain) Firewall->>Firewall: Encode Info in Base64 Firewall->>Firewall: Insert Header into Request Firewall->>DownstreamDevice: Forward Modified Request
sequenceDiagram participant Firewall participant DownstreamDevice participant DestinationServer Firewall->>DownstreamDevice: Send Request with Header DownstreamDevice->>DownstreamDevice: Extract User Info from Header DownstreamDevice->>DownstreamDevice: Enforce User-Based Policy DownstreamDevice->>DestinationServer: Forward Request