Skip to content
MoftgateMoftgate Docs
Product guide

Web Content Gateway (WCG)

User guide to the Moftgate Web Content Gateway: how to enable it in agent profiles, what it provides and how it inspects HTTPS traffic to stop exfiltration.

What is WCG#

The Web Content Gateway (WCG) is a security feature inside the Moftgate agent that sits between the user’s browser and the internet. It inspects web traffic - including encrypted HTTPS - and enforces your organization’s web and data-loss-prevention (DLP) policies on the actual content being sent and received, not just on URLs.

Because WCG can see inside encrypted traffic, it can do things URL filtering alone cannot: detect sensitive data being uploaded through a browser, block unapproved cloud storage services, limit SaaS access to approved tenants, throttle bandwidth-heavy sites, and coach users with in-page warnings. It is the web enforcement layer of your DLP strategy.

Insider Threat: Application & Website Blocks with restriction rules, enforcement logs, and mitigation actions.
Application and website block rules
Close image
Part of the DLP module
WCG is licensed as part of the DLP module. It activates only when the endpoint has a DLP license and WCG is turned on in the agent profile. Without both, the proxy does not start and the system proxy is left untouched.

Enabling WCG#

WCG is enabled per agent profile. When you turn it on, every endpoint assigned to that profile automatically starts the local proxy on its next heartbeat - no manual setup is required on the endpoint itself.

  1. 1
    Confirm your DLP license is active

    WCG is part of the DLP module. Make sure your organization has an active DLP license on the endpoint that should receive WCG protection.

  2. 2
    Open the agent profile

    In the Moftgate panel, navigate to the agent profile assigned to the endpoint (or group of endpoints) you want to protect.

  3. 3
    Turn on Web Content Gateway

    Enable the WCG toggle inside the profile. This tells the agent to start the local proxy, install the trusted certificate, and route browser traffic through it.

  4. 4
    Save and wait for the next heartbeat

    Save the profile. On the next agent heartbeat the endpoint receives the updated profile, starts the proxy, and begins enforcing your web and DLP policies automatically - no reboot or user action required.

No reboot required
Once the profile is saved, the agent handles everything on the next heartbeat: it starts the proxy, installs the trusted certificate, and configures the system proxy. Users do not need to restart their device or browser.

WCG features#

WCG provides a set of policy-driven features that work together to control what leaves the endpoint through the browser. Each feature is configured from the Moftgate panel and enforced by the agent - the proxy is the enforcement point, the panel is the control plane.

FeatureWhat it does
SSL DecryptionDecrypts HTTPS traffic so that policy can be enforced on the actual content of requests and responses - not just on URLs. This is the foundation that makes every other WCG feature possible.
Shadow IT ControlBlocks unapproved cloud storage services such as WeTransfer, Mega, and MediaFire to prevent unsanctioned data exfiltration through consumer file-sharing sites.
Tenant RestrictionLimits SaaS access to approved tenants only by injecting Microsoft Restrict-Access-To-Tenants and Google X-GoogApps-Allowed-Domains headers into requests.
Bandwidth ControlThrottles high-bandwidth sites like YouTube, Netflix, and Vimeo to preserve network capacity for business-critical traffic.
Category QuotaEnforces daily time quotas for social media categories - Facebook, Instagram, TikTok, Twitter, and Reddit - so users get a fixed daily allowance.
Coached WarningInjects an HTML warning banner into the response of specific sites, educating users about policy without hard-blocking access.
Web DLPPerforms sensitive-data pattern matching on web upload and form submission bodies to detect confidential data leaving through the browser.
App/Web BlockBlocks domains based on your app and web policies, returning a clear block page that explains which policy was triggered.
Policy is the source of truth
The proxy does not hardcode any block lists or quotas. Every decision - which domains to block, which to throttle, which to warn on - comes from the policies you configure in the panel. Update a policy and the next agent heartbeat pushes it to the endpoint; the proxy applies it without a restart.

How WCG protects against data exfiltration

Data exfiltration through the web channel happens when sensitive information leaves the endpoint via browser uploads, form submissions, or unapproved cloud services. WCG closes these channels by inspecting the actual content of web traffic:

  • Blocks uploads to unapproved cloud storage and file-sharing sites (Shadow IT Control).
  • Detects sensitive data in web form submissions and uploads before it leaves the endpoint (Web DLP).
  • Restricts SaaS access to approved tenants so data cannot be moved into unmanaged workspaces (Tenant Restriction).
  • Blocks access to disallowed apps and websites with a clear policy block page (App/Web Block).
  • All inspection happens on the decrypted content, so policies see the real payload - not just the URL.

How WCG works#

WCG works as a local man-in-the-middle (MITM) proxy on the endpoint. It decrypts HTTPS traffic, inspects the content, enforces policy, and re-encrypts it before sending it to the destination. Here is the high-level flow:

  1. 1
    A trusted certificate is installed

    When WCG starts, the agent generates a local root certificate and installs it into the operating system’s trust store. Firefox is also configured to trust the system certificates. This happens automatically - no manual import is needed.

  2. 2
    Browser traffic is routed through the proxy

    The agent sets the system proxy so that all browser traffic flows through the local WCG proxy. On Windows this covers per-user settings; on macOS it covers all network services; on Linux it covers both desktop environment and system-wide settings.

  3. 3
    HTTPS traffic is inspected

    Because the browser trusts the installed certificate, WCG can decrypt HTTPS traffic on the fly, inspect the plaintext content, and re-encrypt it before sending it to the destination.

  4. 4
    Policies are enforced on the content

    WCG applies your web and DLP policies to the decrypted content - blocking, throttling, warning, or logging as configured. Policies are fetched from the panel and applied live, without restarting the proxy.

  5. 5
    QUIC is blocked to keep traffic inspectable

    QUIC (HTTP/3) runs over UDP and bypasses the proxy. WCG blocks outbound UDP on ports 443 and 80 so browsers fall back to TCP-based HTTPS, which the proxy can inspect.

Trusted certificate installation

For the browser to accept the decrypted traffic without warnings, WCG installs a trusted root certificate into the operating system’s trust store. This is done automatically when WCG starts, and applies per user so that multiple users on the same device are isolated.

Operating systemTrust storeInstallation
macOSSystem keychainAutomatic - added to the trusted root store
WindowsRoot certificate storeAutomatic - added to the trusted root store
LinuxSystem CA bundleAutomatic - added to the trusted CA store
Firefox uses its own trust store
Firefox does not read the operating system trust store by default. WCG automatically configures Firefox to trust the system certificates, so Firefox users are covered without any manual steps.

System proxy configuration

After the certificate is installed, WCG redirects browser traffic through the local proxy by setting the system proxy. The configuration is handled automatically per operating system and restored to the original settings when the proxy stops.

Operating systemScopeConfiguration
macOSAll network services (Wi-Fi, Ethernet, Thunderbolt)Automatic
WindowsPer-user (current user and user hive by SID)Automatic
LinuxDesktop environment + system-wide environment variablesAutomatic

FAQ#

Do users need to install a certificate manually?
No. The agent generates the trusted certificate and installs it into the operating system trust store automatically. Firefox is also configured to trust the system certificates. The whole process is transparent to the user.
Does WCG slow down browsing?
WCG inspects traffic locally on the endpoint, so the overhead is minimal. Bandwidth Control intentionally throttles specific high-bandwidth sites (like YouTube and Netflix) to preserve capacity for business traffic - this is a policy choice, not a side effect.
What happens if the endpoint loses connection to the panel?
The agent keeps the last received policies and continues enforcing them. When the connection is restored, the next heartbeat pulls any policy updates and applies them live without restarting the proxy.
Can WCG inspect all HTTPS sites?
WCG decrypts HTTPS traffic for all sites except those you explicitly add to the bypass list in policy. Bypassed domains pass through without inspection, which is useful for sites where decryption is not appropriate.
Does WCG work on all operating systems?
Yes. WCG is supported on macOS, Windows, and Linux. The certificate installation and system proxy configuration are handled automatically per operating system.
What is QUIC blocking and why is it needed?
QUIC (HTTP/3) runs over UDP and bypasses the system proxy. WCG blocks outbound UDP on ports 443 and 80 so browsers fall back to TCP-based HTTPS, which the proxy can inspect. Without this, some traffic would escape inspection entirely.