What Is Imperva Incapsula? β Definition and How It Works
Learn what Imperva Incapsula is, how its reputation and challenge layers work, and the cookies that identify it.
Imperva Incapsula is a CDN and web application firewall with bot management, sitting in front of a site as a reverse proxy. "Incapsula" was the original product name; it is now marketed under the Imperva brand.
1. What It Does
As a reverse proxy, every request passes through Imperva before reaching the origin. That position lets it act on:
| Layer | Function |
|---|---|
| CDN | Caching and delivery |
| WAF | Rule-based request filtering |
| DDoS mitigation | Volumetric and application-layer |
| Bot management | Classification and challenges |
| Account takeover protection | Credential-abuse detection |
Bot management is one module in a broader platform, which matters because a site may run Imperva purely as a CDN with no bot controls enabled at all.
2. Identifying It
| Class | Signal |
|---|---|
| Cookie | visid_incap_* |
| Cookie | incap_ses_* |
| Cookie | nlbi_* |
| Header | X-Iinfo |
| Header | X-CDN: Incapsula |
| Content | _Incapsula_Resource script reference |
| Content | Imperva branding on block pages |
The cookie pair is the reliable marker: visid_incap_<siteid> is a visitor identifier and incap_ses_<n>_<siteid> a session identifier, both namespaced with the site's Imperva account id.
The _Incapsula_Resource script reference in a page body is the other unmistakable one β it is the challenge/telemetry script.
3. The Challenge Layer
Where bot management is active, an unrecognised client can receive a JavaScript challenge instead of content: a small page that executes, sets a cookie, and reloads.
Two consequences worth planning for:
- A plain HTTP client never gets past it, because nothing executes the challenge. It receives the challenge page β often with a 2xx status β and a naive parser records that as data.
- The challenge sets a cookie, so a session that persists cookies is served normally afterwards. Discarding cookies between requests means re-challenging every time.
That second point is the practical one: cookie persistence is not optional here, it is the mechanism.
4. Reputation Comes First
Before any challenge, Imperva scores the source address. Datacenter ranges, known proxy exits, and addresses with prior abuse history are treated more suspiciously than residential consumer addresses.
The observable consequence: the same client configuration succeeds from one address and is challenged from another. When behaviour changes with egress and not with headers, reputation is the variable.
5. Block Pages Are Informative
Imperva block responses typically carry a request identifier and a reference code. Those are worth capturing rather than discarding, because:
- They confirm the identification beyond doubt.
- The code distinguishes a WAF rule match from a bot-management action from a rate limit.
- They are what a site operator needs if you have a legitimate reason to ask for access.
That last point is underused β a site's own team can allowlist a legitimate crawler, and the reference code is how they find the event.
6. What Its Presence Means for Collection
- Persist cookies across the session, or every request restarts the challenge.
- Expect a real browser to be required where challenges are active.
- Test from more than one address class to separate reputation effects from configuration ones.
- Validate content, not status codes β challenge pages return success codes.
- Respect rate limits; Imperva deployments commonly pair bot management with aggressive rate rules.
- Check whether bot management is even on β many Imperva sites are CDN-only.
7. Distinguishing It From Other Reverse Proxies
Several CDN-plus-WAF products occupy the same position and look superficially similar. The cookies distinguish them cleanly: Imperva's visid_incap_/incap_ses_ pair is unlike Cloudflare's cf_ family, Akamai's _abck/bm_sz, or AWS WAF's aws-waf-token.
Since a site can also chain several of these, treat identification as a set rather than a single answer.
8. Summary
Imperva Incapsula is a reverse-proxy CDN and WAF with optional bot management, identified by visid_incap_* and incap_ses_* cookies, X-Iinfo headers, and _Incapsula_Resource script references.
Its bot management scores address reputation first and issues JavaScript challenges second, so persist cookies because the challenge works by setting one, validate content rather than status codes, and test from several address classes to tell reputation effects apart from configuration problems.