Secure Web Gateway

What is SWG?

SWG (Secure Web Gateway) is a cloud-based checkpoint that routes employees' web access through inspection and controls connections to dangerous sites or sites unnecessary for work. As one of the building blocks of SASE, it keeps web usage safe under the same rules whether users are inside or outside the office.

Basics

SWG basics

Using the internet inevitably carries risks such as malware infection, phishing scams, and information leakage. SWG passes employees' web traffic through first and performs inspections such as the following.

  • URL filtering. Blocks connections to dangerous sites or sites unnecessary for work (gambling, adult content, etc.)
  • Malware inspection. Detects and blocks malicious programs contained in downloaded files or traffic
  • Traffic visibility. Records who is using which sites and cloud services
  • SSL traffic inspection. Examines the contents of encrypted traffic (https) to uncover hidden threats

Traditionally a dedicated appliance (a proxy) was placed on-premises, but because SWG is delivered from the cloud, the web traffic of employees working remotely can be protected to the same standard.

Image

A visual overview

All employee web access passes through the SWG, which decides "allow, limit, or block" depending on the type of site.

Employee SWG Web check Business sites Allow Social media, video, etc. Limit Dangerous sites Block All employee web traffic passes through the SWG and is judged by site type
Visual Guide

Understanding SWG with Diagrams

For those new to the technical terms, here are three diagrams that explain the idea behind SWG.

Diagram

An analogy: a “checkpoint” for the web

Employee SWG (gatekeeper) Safe sites Allow Non-work sites Limit Dangerous sites Block
← scroll horizontally →

Every employee web access passes through the SWG, which decides to allow, limit, or block based on the type of site.

Diagram

Before / after: how web traffic flows

Traditional With SWG PC PC PC Internet dangerous sites mixed in PC PC PC SWG inspect Internet Each PC connects directly to the internet; dangerous sites slip through. All web traffic passes through the SWG and is inspected first.
← scroll horizontally →

Traditionally each PC connected directly to the internet, and dangerous sites tended to slip through. With SWG in place, all web traffic passes through the SWG for inspection.

Diagram

Step by step: how the SWG protects the web

1 Access a site Employee acts 2 Check destination SWG looks it up 3 Judge risk / category Classify by policy 4 Show if safe, block if dangerous Allow
← scroll horizontally →

For every request, the SWG checks the destination and judges whether it is dangerous or non-work, then displays only safe sites.

Pros

Benefits

  • Apply uniform web usage rules regardless of whether users are inside or outside the office
  • Blocks malware and phishing sites, lowering the risk of infection
  • Protects productivity and bandwidth by limiting non-work sites
  • Provides visibility into unauthorized cloud usage (shadow IT)
  • Supports audits and investigations through access logs
Cons

Drawbacks and caveats

  • !SSL inspection requires attention to processing load and privacy
  • !Excessive blocking can get in the way of work (false positives need tuning)
  • !Policy design and exception handling take effort
  • !A monthly cost is incurred per user
How to Start

How rollout typically proceeds

Suddenly restricting all sites strictly would disrupt work. A realistic approach is to understand the current state and proceed in stages.

STEP 1PROCESS
Assess the current state Review how employees actually use the web and the state of the existing proxy and firewall.
Usage realityExisting setup
STEP 2PROCESS
Design the policy Organize which categories to block (dangerous sites, etc.) and which exceptions are needed for work.
CategoriesExceptions
STEP 3PROCESS
Pilot deployment Trial it in a few departments and check whether any business sites are blocked by mistake.
TrialFalse-positive check
STEP 4PROCESS
Phased rollout If there are no issues, expand to the whole company. Also apply it to devices used outside the office.
Company-wide rollout
STEP 5PROCESS
Operate and tune Adjust false positives while reviewing logs, and establish operational rules for exception requests.
TuningOperational rules
Model Case

A mid-sized company rollout scenario

This is a hypothetical model case based on inquiries we frequently receive. Actual approaches and outcomes vary by environment.

Case

~500 employees, manufacturing (multiple sites)

Challenge: Phishing emails impersonating business partners have increased, raising concerns about access to dangerous sites. With more branches and remote workers, web usage management can no longer keep up.

Existing setup: Only a proxy appliance at headquarters. Web traffic from branches and remote workers goes unchecked.

Before HQ Branch Remote Dangerous sites phishing, etc. Branches and remote are scattered; web usage is unmanaged After HQ Branch Remote SWG Business sites Allow Dangerous sites Block All sites and remote workers inspected and protected centrally by SWG
  • 1Deploy a cloud-based SWG so web traffic from all devices at HQ, branches, and remote workers is inspected
  • 2Automatically block dangerous and phishing sites
  • 3Restrict non-work sites (video, gambling, etc.) by time of day
  • 4Use access logs to make usage visible and review it monthly

Outcome: Connections to dangerous sites were blocked and infection risk fell. Branches and remote workers are protected to the same standard, and bandwidth gained more headroom.

* The above is a hypothetical model case. Actual configurations and outcomes vary by your environment.

FAQ

Frequently Asked Questions

  • QWhat is SWG (Secure Web Gateway)?
    SWG is a cloud-based checkpoint that routes employees' web access through inspection and controls connections to dangerous sites or sites unnecessary for work. As one of the building blocks of SASE, it keeps web usage safe under the same rules whether users are inside or outside the office.
  • QHow does it differ from a traditional proxy appliance?
    Traditionally a dedicated appliance (a proxy) was placed on-premises, but SWG is delivered from the cloud. As a result, the web traffic of employees working remotely can be protected to the same standard.
  • QWhat can SWG inspect and control?
    It blocks dangerous and unnecessary sites through URL filtering, inspects downloaded files for malware, and records who is using which sites. It also examines the contents of encrypted traffic (https) to uncover hidden threats.
  • QCan SMBs and mid-sized companies adopt it?
    Yes. Because suddenly restricting all sites strictly would disrupt work, a realistic approach is to proceed in stages: assess the current state, design the policy, run a pilot, roll out in phases, and then operate and tune.
  • QWhat are the benefits and caveats of SWG?
    The benefits are applying uniform web usage rules inside and outside the office, blocking malware and phishing, gaining visibility into shadow IT, and supporting audits through logs. The caveats include the processing load and privacy considerations of SSL inspection, the impact of excessive blocking on work, the effort of policy design, and a monthly cost per user.

Talk to us about reviewing your web security

From concerns such as "we worry about phishing," "we can't manage web usage by remote workers," or "we want to review an aging proxy," we can help you organize your setup, including SWG.

Contact us