From c16eff155bf06eca1e074b81a1493d69d5bfd529 Mon Sep 17 00:00:00 2001 From: gorhill Date: Wed, 31 Dec 2014 11:43:40 -0800 Subject: [PATCH] Updated Dynamic filtering: rule syntax (markdown) --- Dynamic-filtering:-rule-syntax.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dynamic-filtering:-rule-syntax.md b/Dynamic-filtering:-rule-syntax.md index ec34cbc..2039341 100644 --- a/Dynamic-filtering:-rule-syntax.md +++ b/Dynamic-filtering:-rule-syntax.md @@ -10,11 +10,11 @@ Source hostname always correspond to the hostname extracted from the URL of the Type-based rules are used to filter specific types of request on a web page. There currently exists five types of request which can be dynamically filtered: -- images -- inline scripts -- 1st-party scripts: scripts which are pulled from the same domain name of the current web page -- 3rd-party scripts: scripts which are pulled from a different domain name than that of the current web page -- 3rd-party frames: frames elements which are pulled from a different domain name than that of current web page +- images (`image`) +- inline scripts (`inline-script`) +- 1st-party scripts (`1p-script`): scripts which are pulled from the same domain name of the current web page +- 3rd-party scripts (`3p-script`): scripts which are pulled from a different domain name than that of the current web page +- 3rd-party frames (`3p-frame`): frames elements which are pulled from a different domain name than that of current web page These rules can apply everywhere, or be specific to a web site. For instance blocking 3rd-party frames is a very good habit security-wise: `* * 3p-frame block`. This rule translates into "block 3rd-party embedded frames everywhere".