From c2ddbea46fecf07276ac34849a57fbd75b4c132c Mon Sep 17 00:00:00 2001 From: gorhill Date: Sun, 4 Jan 2015 03:46:22 -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 16297dc..970f33f 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 (`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 +- `image`: images +- `inline-script`: inline script tags, i.e. scripts embedded in the main document +- `1p-script`: 1st-party scripts, i.e. scripts which are pulled from the same domain name of the current web page +- `3p-script`: 3rd-party scripts, i.e. scripts which are pulled from a different domain name than that of the current web page +- `3p-frame`: 3rd-party frames, i.e. 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 frames of all origins".