Security terms for people who run websites, ads and online stores. Every term comes with a short example from everyday work: an office network, a café's Wi-Fi, a shop's checkout. The people and companies are fictional, and every address comes from ranges reserved for documentation, so none of them belong to anyone real.
Read the articles →- Laptop
192.168.1.10 - Phone
192.168.1.11 - Game console
192.168.1.12
192.168.1.1 WAN 203.0.113.50 203.0.113.50 One address for all three devices Addresses
How devices are identified, inside the home and on the internet.
- IP address
-
A number that identifies a device's connection on a network, so data can be sent to it. Think of it as the delivery address written on every piece of data.
For example Maya works from home on her laptop. Inside her flat, the router gives the laptop the address 192.168.1.10. When she opens a website, the website sees a different address, 203.0.113.50, which her internet provider gave to her router.
Why marketers should care An IP address identifies a connection, not a person. Several people can share one, and one person can use several in a day.
- IPv4
-
The original addressing system of the internet. It has about 4.3 billion addresses, which is not enough for every device in the world. NAT exists mainly because of this shortage.
For example 192.168.1.10 and 203.0.113.50 are both IPv4 addresses: four numbers from 0 to 255, separated by dots. Numbers that small allow only about 4.3 billion combinations, fewer than the number of phones in use today.
- IPv6
-
The newer addressing system, with so many addresses that every device can have its own public one. IPv6 networks usually do not need NAT. A firewall does the protective job instead.
For example A new phone on a mobile network gets an address like 2001:db8:4f2a::7. It is longer, written in groups of letters and numbers separated by colons, and it is unique to that phone. The network's firewall, not NAT, decides what may reach it.
Why marketers should care The same visitor can arrive on IPv4 one day and IPv6 the next. An IP filter written for one format will not match the other.
- Public IP address
-
A globally unique address assigned by an Internet Service Provider. Any device on the internet can send data to it.
For example A design studio with ten people shares one internet connection. Every website the team visits sees the same public address, 198.51.100.24, whether the visitor is a designer, the accountant or the office printer checking for updates.
Why marketers should care This is the address your analytics, ad platforms and fraud tools see: the router's, not the device's.
- Private IP address (RFC 1918)
-
An address reserved for local networks such as homes, offices and schools. Internet routers do not forward traffic to these addresses. The reserved ranges are 10.0.0.0 to 10.255.255.255, 172.16.0.0 to 172.31.255.255 and 192.168.0.0 to 192.168.255.255.
For example Maya's laptop has the address 192.168.1.10. Her neighbour's laptop, in the flat next door, also has 192.168.1.10. There is no conflict, because each address only exists inside its own home network.
- Carrier-grade NAT (CGNAT)
-
NAT done by the Internet Service Provider, on top of the NAT in your router. Many customers share one public address. ISPs use the range 100.64.0.0/10 (RFC 6598) between your router and their NAT.
For example A shopper browses an online store on her phone over 4G. The store's analytics shows the address 198.51.100.200. At the same moment, hundreds of other customers of the same mobile carrier, all over the city, appear with that same address.
Why marketers should care Mobile carriers use this widely. Block or exclude one CGNAT address and you may block hundreds of real customers.
- CIDR notation
-
A short way to write a range of addresses. The number after the slash says how much of the address is fixed. 192.168.1.0/24 means every address from 192.168.1.0 to 192.168.1.255.
For example An office network uses the addresses 192.168.10.0 to 192.168.10.255. Instead of typing 256 addresses into a GA4 internal traffic rule, the IT team writes 192.168.10.0/24: the first three numbers are fixed, and the last one can be anything.
Why marketers should care GA4 internal traffic rules and Google Ads IP exclusions both accept ranges, so you will meet this notation there.
Devices and traffic
The pieces that move data between the home and the internet.
- ISP (Internet Service Provider)
-
The company that connects you to the internet and assigns your public IP address.
For example A bakery owner excludes her shop's public address in Google Ads, so her own visits do not count as ad clicks. A month later, her internet provider gives the router a new address after maintenance, and her own clicks start counting again.
- Router
-
The device that connects one network to another and decides where each piece of data goes. Home routers also do NAT, run the firewall and hand out private addresses with DHCP.
For example In a small office, the router is the box from the internet provider in the corner. Five laptops, a printer and a Wi-Fi speaker all send their traffic through it. If it is switched off, nobody in the office is online.
- LAN (Local Area Network)
-
The private network inside a home or office. The router's LAN interface is the side that faces your own devices.
For example The laptops, phones and printer in a small office form one LAN. Any laptop in the office can print to the printer at 192.168.1.30, but nobody on the internet can reach it.
- WAN (Wide Area Network)
-
The network outside your home, starting with your ISP. The router's WAN interface is the side that faces the internet.
For example On the back of a home router there is usually one port labelled WAN or Internet, where the cable from the provider goes in. That side of the router has the public address, for example 203.0.113.50.
- Default gateway
-
The device your computer sends traffic to when the destination is outside the local network. It is the network's exit door. DHCP tells each device which gateway to use.
For example A laptop at 192.168.1.10 wants to open a news website. The website is not on the home network, so the laptop hands the request to its default gateway, the router at 192.168.1.1, and the router sends it on.
- Packet
-
A small piece of data sent across a network. Web pages, emails and videos are all split into packets.
For example A 3 MB photo sent by email does not travel in one piece. It is split into about two thousand packets, which can take different routes and are put back together in the right order at the other end.
- Packet header
-
The label on each packet. It includes the source address (who sent it) and the destination address (where it goes). NAT works by rewriting these labels.
For example A laptop at 192.168.1.10 requests a web page. The packet leaves with 192.168.1.10 as its source. Before it goes out, the router rewrites the source to the home's public address, 203.0.113.50, so the reply can find its way back.
- Port
-
A number that identifies one conversation or service on a device, written after the IP address with a colon. Websites use port 443 for HTTPS.
For example A laptop has two browser tabs open: an online shop and a webmail page. The tabs talk on different ports, for example 51200 and 51201, so their replies never get mixed up. Both websites listen on port 443, the standard port for HTTPS.
Translation
What NAT does and the different ways it can do it.
- NAT (Network Address Translation)
-
A router feature that rewrites the addresses in packet headers as they pass through. It lets many devices with private addresses share one public address.
For example A family has a laptop, a phone and a games console online at the same time. A website the teenager visits on the console sees 203.0.113.50. So does the shop a parent visits on the phone. From the outside, the whole home looks like one device.
- NAT table
-
The router's record of which inside device owns which outside conversation. Replies are matched against this table so they reach the right device.
For example A laptop (192.168.1.10) and a phone (192.168.1.11) open the same news site at the same moment. The router writes two lines: outside port 40001 belongs to the laptop, outside port 40002 to the phone. When the replies arrive, it checks the table and sends each one to the right device.
- Static NAT
-
A fixed one-to-one mapping: one private address always uses the same public address. It is used when a server must always be reachable at the same public address.
For example A small company runs its own booking server in the office at 10.0.0.5. Its provider gives it a second public address, 198.51.100.21, and the router maps that address to the server permanently. Customers always reach the booking system at the same address.
- Dynamic NAT
-
Private addresses borrow a public address from a pool when they need one, and give it back afterwards.
For example A school has a pool of four public addresses, 198.51.100.20 to 198.51.100.23. When a computer in the library goes online, it borrows whichever of the four is free, and gives it back when it has finished.
- PAT (Port Address Translation), or NAT overload
-
The most common form of NAT. Many devices share one public address, and the router tells their conversations apart by port number. Almost every home router works this way.
For example In a café, forty customers are on the Wi-Fi. All of them reach the internet through one public address, 203.0.113.80. The router tells their conversations apart by port number: 203.0.113.80:40001, 203.0.113.80:40002, and so on.
Exposure and protection
What can reach your network from the outside, and what stops it.
- Port forwarding
-
A manual rule that sends traffic arriving on a public port to one inside device. NAT lets traffic go out but not come in, so port forwarding is how you deliberately open a door.
For example A shop owner wants to watch her security camera from home. She adds a rule on the shop's router: traffic to public port 8080 goes to the camera at 192.168.1.20. It works, but now anyone on the internet who finds port 8080 can also try to log in to the camera.
- UPnP (Universal Plug and Play)
-
A feature that lets devices create port forwarding rules on the router by themselves, without asking you.
For example A games console asks the router to open a port so friends can join an online game, and the router does it without asking anyone. The same feature would let malware on a laptop open a door from the internet into the home.
- Stateful firewall
-
A filter that remembers which conversations started from inside and drops unexpected traffic from outside. This, not NAT itself, is what protects devices behind a router.
For example A laptop requests a web page, and the firewall notes the conversation. The page's reply is let in because it was expected. A minute later, an unknown server sends data that nobody asked for, and the firewall drops it.
What your marketing tools see
What IP addresses, proxies and VPNs mean for analytics, ad platforms and fraud tools.
- IP geolocation
-
Estimating a visitor's location from their public IP address, using databases that map address ranges to places. It finds where the connection appears to come from, which is not always where the person is.
For example A customer in Utrecht buys from an online shop on her phone. Her mobile network's addresses are registered in Amsterdam, so the shop's analytics reports the visit from Amsterdam.
Why marketers should care GA4 location reports come from this. With CGNAT, mobile networks and privacy relays, the city in the report can be wrong.
- Proxy and X-Forwarded-For
-
A proxy is a server that makes requests for someone else, so the destination sees the proxy's address. X-Forwarded-For is a header where the proxy can write down the original visitor's address.
For example An online shop sends its tracking events through its own server before they reach Google. Google sees the server's address, 198.51.100.40, on every event. If the server adds the header X-Forwarded-For: 203.0.113.50, the visitor's own address is passed on as well.
Why marketers should care In server-side tracking your server is the proxy. If it does not forward the visitor's IP, every event looks like it came from your server.
- VPN and privacy relays
-
Services that send your traffic through their own servers, so websites see the service's address instead of yours. Apple's iCloud Private Relay is one example in Safari.
For example An employee in Madrid connects to her company's VPN, whose server is in Frankfurt. When she opens the company's own website, analytics records a visit from Germany, from the VPN server's address and not from her home.
Why marketers should care Location, company lookup and IP-based exclusions get less accurate as more visitors use these services.
Content Security Policy
The browser's guest list: the rules that decide which scripts, images and connections a website may load, and why they can quietly break tracking.
- Content Security Policy (CSP)
-
A set of rules a website sends to the browser, listing which domains may load scripts, images, frames and connections on its pages. The browser blocks anything that is not on the list.
For example An online tea shop sends a Content-Security-Policy header with every page. It says that scripts may come only from the shop's own domain and from www.googletagmanager.com. If anything tries to load a script from another domain, the browser refuses.
Why marketers should care Every tracking tag needs its domains on this list. If they are missing, the tag fails without any visible error on the page.
- Directive
-
One rule inside a Content Security Policy. Each directive covers one type of resource and lists the sources allowed for it.
For example In the rule img-src 'self' https://www.google.com, img-src is the directive. It says that images may load from the website's own domain ('self') and from www.google.com, and from nowhere else.
- default-src
-
The fallback directive. It applies to any resource type that does not have its own directive.
For example A furniture shop's whole policy is default-src 'self'. It has no separate rule for images. When the thank-you page tries to load a tracking pixel from a Google domain, the browser falls back to default-src and blocks it.
Why marketers should care A strict default-src can block tracking pixels even though nobody wrote a rule about images.
- script-src
-
The directive that decides which domains may run JavaScript on the page. It is the main defence against injected code.
For example A shop adds Google Tag Manager, but its script-src lists only the shop's own domain. The tag manager is blocked before it starts, so none of the tags inside it run: no GA4, no Google Ads, no Meta pixel.
- img-src
-
The directive that decides which domains images may load from. This includes invisible tracking pixels, not only the pictures you can see.
For example A shoe shop's policy says img-src 'self', because all product photos are on its own server. After a €90 purchase, the Google Ads tag tries to report the sale as a tiny image request to a Google domain. The browser blocks it, the customer sees nothing wrong, and the sale never appears in Google Ads.
Why marketers should care Teams often set img-src to their own domain only, because they host their own images. That one choice can silently stop conversion tracking.
- connect-src
-
The directive that decides which domains scripts may send data to in the background, for example with fetch or a beacon.
For example A shop's GA4 tag loads correctly, but connect-src lists only the shop's own domain. The tag runs, then tries to send each page view to Google in the background. The browser blocks the request, so GA4 receives nothing.
- frame-src
-
The directive that decides which domains may be embedded in the page as an iframe, a page inside the page.
For example A shop embeds a YouTube video on a product page. Its frame-src does not include www.youtube.com, so visitors see an empty box where the video should be.
- Allowlist (whitelist)
-
The list of domains you trust for a given purpose. Adding a domain to a CSP directive is often called whitelisting it.
For example Before launching Google Ads, a bakery's developer adds www.googletagmanager.com, www.googleadservices.com and www.google.com to the website's policy. Those three domains are now on the allowlist. Everything else stays blocked.
- Tracking pixel
-
A tiny, invisible image whose web address carries data, such as a conversion ID and order value. Loading the image is how the data is sent.
For example After a customer buys a €40 gift card, the thank-you page loads a transparent 1×1 image. Its web address ends with something like ?value=40¤cy=EUR, and loading that image is how the ad platform learns that a sale happened.
Why marketers should care Because the image is invisible, nobody notices when it is blocked. The only symptom is missing conversions.
- Nonce
-
A random value the server creates for each page load and adds to both the policy and the trusted inline scripts. Scripts without the matching value do not run.
For example For one page load, the server creates the random value k3J9xQ and writes it into the policy and into the shop's own inline script. That script runs. A script injected by someone else does not carry k3J9xQ, so it does not run. On the next page load, the value is different.
- Report-only mode
-
Sending the policy in a Content-Security-Policy-Report-Only header. The browser reports what it would have blocked, but blocks nothing.
For example A travel agency writes a stricter policy and sends it as report-only for a week. The reports show it would have blocked the Google Ads conversion pixel and a chat widget, so the team allows both domains before switching the policy on.
- Cross-site scripting (XSS)
-
An attack where someone manages to run their own JavaScript on your website, for example to steal card details at checkout. Content Security Policy exists mainly to limit this.
For example An attacker finds a review form that saves whatever is typed, including code. He posts a review that contains a script to copy card numbers from the checkout page. With a strict CSP, the browser refuses to run his script or send the data to his server.
DNS
How names like www.example.com become the addresses computers use, and who controls each step.
- DNS (Domain Name System)
-
The system that turns names people can remember, like www.example.com, into the IP addresses computers use. It is not one database but millions of separate zones, each run by whoever owns that part of the name.
For example A customer types www.example.com into the browser. Before anything loads, the browser asks DNS for the address and gets back 192.0.2.10. Only then does it connect to the server at that address.
- Recursive resolver
-
The DNS server that does the work of finding an answer for your device, asking other servers step by step, and remembering (caching) answers for later. Usually run by your internet provider, your company, or a public service like 1.1.1.1 or 8.8.8.8.
For example Two colleagues open their company website a minute after the IT team moved it to a new server. One sees the new site. The other's resolver still has the old address in its cache, so she sees the old site for a few more minutes.
Why marketers should care Different resolvers can hold different cached answers for a while after a change. That is why a colleague can still see the old website.
- Root server
-
The top of the DNS tree. A root server does not know any website's address. It only knows which servers handle each top-level domain, such as .com or .nl. There are 13 root identities, served from around 2,000 locations.
For example A resolver with an empty cache needs the address of www.example.org. It starts at a root server, which does not know the answer but replies: ask the servers for .org, and here they are.
- TLD (top-level domain)
-
The last part of a domain name, such as .com, .org or .nl. Each TLD is run by a registry, which knows which name servers are responsible for every domain under it.
For example In shop.example.org, .org is the TLD. The .org registry knows which name servers are responsible for example.org, but it does not know the address of shop.example.org itself.
- Authoritative name server
-
The server that holds the real records for a domain and gives the official answer. Every other server either points to it or repeats what it said.
For example A bike shop's domain uses Cloudflare's name servers. When its developer wants to know what the DNS really says right now, she asks Cloudflare's name servers directly, instead of trusting the cached answer on her own laptop.
- Registrar
-
The company where a domain is bought and renewed. The registrar decides which name servers the domain points to. It is often a different company from the DNS host and the web host.
For example A bakery bought its domain at one company, hosts its website at another and uses Cloudflare for DNS. The domain points to Cloudflare's name servers, so when the owner edits records in her registrar account, nothing changes.
Why marketers should care Know who controls the registrar account. If the domain expires or the account belongs to a former agency, your rankings and email are at risk.
- DNS record (A, AAAA, MX, TXT)
-
One entry in a domain's zone. A and AAAA records point a name to an IPv4 or IPv6 address, MX records say where email goes, and TXT records hold text such as email security policies and ownership verifications.
For example A small agency's domain has four records: an A record that sends www to 192.0.2.10, an AAAA record with the IPv6 address 2001:db8::10, an MX record that sends email to its email provider, and a TXT record that proves ownership to Google Search Console.
- CNAME record
-
A record that makes one name an alias of another name. A name with a CNAME cannot have any other record, which is why a plain CNAME is not allowed at the root of a domain.
For example A shop runs its online store on Shopify. Its record for store.example.com is a CNAME to an address Shopify provides. When Shopify moves the store to new servers, the shop does not need to change anything.
- Subdomain
-
A name below a domain, such as blog.example.com or store.example.com. Each subdomain has its own records and can point to a completely different server or service.
For example A software company uses www.example.com for its website, app.example.com for its product and help.example.com for its help centre. Each name points to a different service, run by a different team.
Why marketers should care Use one GA4 property and data stream for all subdomains, and compare them with the Hostname dimension. Cross-domain tracking is not needed between subdomains.
- TTL (time to live)
-
The number of seconds a DNS answer may be kept in a cache before it must be looked up again. A long TTL means fewer lookups; a short TTL means changes reach everyone faster.
For example A record with a TTL of 3600 can stay in caches for up to an hour. The day before a migration, the team lowers it to 300 (five minutes). If the new server fails, they switch back and everyone sees the old site again within five minutes.
Why marketers should care Ask for TTLs to be lowered a day before any website migration, so a problem can be rolled back quickly.
- NXDOMAIN and SERVFAIL
-
Two DNS error answers. NXDOMAIN means the name does not exist. SERVFAIL means the resolver could not get a trustworthy answer, for example because the name servers did not respond or DNSSEC checks failed.
For example A visitor types wwww.example.com, with four w's. The answer is NXDOMAIN: that name does not exist. On another day, the shop's name servers are down, and visitors who type the correct name get SERVFAIL.
- DNSSEC
-
An extension that adds digital signatures to DNS records, so resolvers can prove an answer came from the domain owner and was not changed on the way. It protects against forged answers, but does not encrypt anything.
For example On a café's Wi-Fi, an attacker sends a forged DNS answer that points a bank's name to his own server. The bank's domain uses DNSSEC, the forged answer has no valid signature, and a validating resolver throws it away.
- Subdomain takeover
-
An attack where someone takes control of a subdomain whose DNS record still points to a cloud resource that was deleted, by creating a new resource with the same name.
For example A brand ran a summer campaign at summer.example.com, hosted on a cloud app service. In September the app is deleted, but the DNS record stays. An attacker creates a new app with the same name and now controls a page on the brand's own domain.
Why marketers should care When a campaign site is switched off, ask for its DNS record to be deleted first.
See these terms at work
The articles use this glossary to explain real problems, such as IP filters that stop matching and conversion tags blocked by a security policy.
Read the articles