For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
HUMAN DashboardHUMAN WebsiteRequest a Demo
Product GuidesEnforcer GuidesMobile SDKAPI ReferenceCustomer support
Product GuidesEnforcer GuidesMobile SDKAPI ReferenceCustomer support
  • General
    • About Enforcers
    • Support first-party HUMAN calls
    • Troubleshoot Enforcer configurations
  • Enforcer frameworks
    • Akamai ESI
    • Apache - C Module
    • ASP.NET
      • ASP.NET changelog
      • Configuration Options
      • First Party Configuration
    • Callout Enforcer
    • Envoy Proxy
    • F5 BIGIP
    • Fastly JavaScript Compute@Edge
    • Google Cloud Platform (GCP) Callout Enforcer
    • Kong Plugin
    • NGINX - C Module
    • NGINX - LUA Module
    • PHP
    • Python
    • Ruby
    • Salesforce Commerce Cloud Cartridge
LogoLogo
Login
Login
HUMAN DashboardHUMAN WebsiteRequest a Demo
On this page
  • First Party Enabled Example (default value)
  • First Party Mode Disabled Example
  • Next Steps
Enforcer frameworksASP.NET

First Party Configuration

Was this page helpful?
Previous

Changelog

Next
Built with

In First Party Mode, the PxModule acts as a reverse proxy for client requests and
sensor activity.

The PxModule is configured with First-Party mode enabled by default.

To confirm that you have configured your HUMAN ASP.NET Enforcer in First-Party mode, review the PxModule configuration.

First Party Enabled Example (default value)

Below is an example of a basic configuration for the HUMAN PxModule.

VB.Net
1<perimeterX>
2 <pxModuleConfigurationSection
3 enabled="true"
4 appId="<PX Application ID>"
5 apiToken="<API token>"
6 cookieKey="<cookie key>"
7 monitorMode="true"
8 blockingScore="100"
9 >
10 </pxModuleConfigurationSection>
11 </perimeterX>
  • If firstPartyEnabled or firstPartyXhrEnabled are not found in your PxModule configuration block, the First-Party Mode is enabled in the Enforcer. (Continue to the Next Steps below.
  • Otherwise, proceed to the First Party Mode Disabled Example.

First Party Mode Disabled Example

Below is an example of a basic configuration for the PxModule module.

The presence of the firstPartyEnabled and firstPartyXhrEnabled with values of false confirm that the default configuration has been changed and First-Party mode is disabled.

VB.Net
1<perimeterX>
2 <pxModuleConfigurationSection
3 enabled="true"
4 appId="<PX Application ID>"
5 apiToken="<API token>"
6 cookieKey="<cookie key>"
7 monitorMode="true"
8 blockingScore="100"
9 firstPartyEnabled="false"
10 firstPartyXhrEnabled="false"
11 >
12 </pxModuleConfigurationSection>
13 </perimeterX>

In order to enable First Party Mode, you need to set both the firstPartyEnabled and firstPartyXhrEnabled to true and reload your configuration and continue to the Next Steps below.

Next Steps

After configuring the Enforcer to handle First Party requests, complete the steps listed on the Integrate 1st-Party JS Snippet to make sure your snippet is set up to serve the JavaScript Sensor via First Party.