2009/dap/policy Overview.html,1.7,1.8

Update of /sources/public/2009/dap/policy
In directory hutz:/tmp/cvs-serv16755

Modified Files:
	Overview.html 
Log Message:
fixing somewhat the examples


Index: Overview.html
===================================================================
RCS file: /sources/public/2009/dap/policy/Overview.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- Overview.html	9 Apr 2010 16:12:37 -0000	1.7
+++ Overview.html	13 Apr 2010 15:01:37 -0000	1.8
@@ -1157,11 +1157,10 @@
 	<pre><code>
 	<code>&lt;target&gt;</code>
 	    <code>&lt;subject&gt;</code>
-		&lt;subject-match attr="author-key-root-fingerprint"&gt;sha256 ********
-		root fingerprint of author **** /&gt;
-	    &lt;/subject&gt; &lt;-- to identify the Identified domain, the same would
+		&lt;subject-match attr="author-key-root-fingerprint" match="sha256 ******** root fingerprint of author ****" /&gt; &lt;-- to identify the Identified domain, the same would
 	    apply for the Unidentified domain--&gt;
-	&lt;/target&gt; &lt;rule effect=one-shot&gt;
+	&lt;/target&gt;
+         &lt;rule effect="one-shot"&gt;
 	    <code>&lt;condition&gt;</code>
 		&lt;resource-match attr="dev-cap" match="messaging.*.send"
 		param:recipients="+4409*" func="glob"/&gt; &lt;-- to block UK premium
@@ -1173,7 +1172,7 @@
 	fragment for blocking Spanish premium rate numbers that could be added, along
 	with the condition combining operator (please note: there are probably more
 	elegant ways of expressing this by using regular expressions): <pre><code>
-	    &lt;condition combine=or&gt;
+	    &lt;condition combine="or"&gt;
 		&lt;resource-match attr="dev-cap" match="messaging.*.send"
 		param:recipients="+4409*" func="glob"/&gt; &lt;-- to block UK premium
 		rate numbers --&gt; &lt;resource-match attr="dev-cap"
@@ -1185,16 +1184,15 @@
 	halting the spread of the malware in its early stages of distribution. </p> <p>
 	Clearly, if the widget is prevented from installing, then it cannot call a
 	device API – these functions are shown as a belt and braces example:
-	<pre><code> <code>&lt;target&gt</code>;
+	<pre><code> <code>&lt;target&gt;</code>
 	    <code>&lt;subject&gt;</code>
-		&lt;subject-match attr="id" match="http://www.maliciouswidget1.org"
-		/&gt;
+		&lt;subject-match attr="id" match="http://maliciouswidget1.example.org"&gt;
 	    &lt;/subject&gt;
-	&lt;/target&gt; &lt;rule effect=deny&gt;
-	   &lt;condition combine=or&gt;
-	    &lt;resource-match attr=widget-install /&gt; &lt;resource-match
-	    attr=widget-instantiate /&gt; &lt;resource-match attr=api-feature match=*
-	    /&gt; &lt;resource-match attr=dev-cap match=* /&gt; &lt;/condition&gt;
+	&lt;/target&gt; &lt;rule effect="deny"&gt;
+	   &lt;condition combine="or"&gt;
+	    &lt;resource-match attr="widget-install" /&gt; &lt;resource-match
+	    attr="widget-instantiate" /&gt; &lt;resource-match attr="api-feature" match="*"
+	    /&gt; &lt;resource-match attr="dev-cap" match="*" /&gt; &lt;/condition&gt;
 	  &lt;/rule&gt;
 	</code></pre>
     </section> <!-- premium-rate-abuse -->

Received on Tuesday, 13 April 2010 15:01:40 UTC