Debian Codegraph @

doc/rcfileexs/secure.mrc.html

raw
1 <html>
2 <body>
3 <pre>
4 &lt;!-- ================================================================== --&gt;
5 &lt;!-- File:
6 $Id: secure.mrc,v 1.2 2011/01/09 05:23:25 ehood Exp $
7 Author:
8 Earl Hood &lt;earl @ earlhood . com&gt;
9
10 Description:
11 MHonArc, &lt;http://www.mhonarc.org/&gt;, resource file for
12 providing a more secure archive.
13 --&gt;
14 &lt;!-- ================================================================== --&gt;
15
16 &lt;!-- For public archive sites, it is HIGHLY RECOMMENDED to neutralize
17 HTML. HTML messages can be used for XSS attacks. Although
18 mhonarc attempts to neutralize HTML, there is no guarantee that
19 it is perfect.
20
21 SIMPLE RULE: If the archive receives messages from untrusted
22 sources, HTML data SHOULD be neutralized.
23 --&gt;
24
25 &lt;!-- Many HTML message have an alternative text/plain part,
26 therefore, for such messages, lets give preference to
27 text/plain part.
28 --&gt;
29 <b><a href="../resources/mimealtprefs.html">&lt;MIMEAltPrefs&gt;</a></b>
30 text/plain
31 text/html
32 <b>&lt;/MIMEAltPrefs&gt;</b>
33
34 &lt;!-- If there is no text/plain part, we treat text/html as plain
35 text. This way, something will show up, but it may not be
36 that pretty depending on how the raw HTML data is formatted.
37 --&gt;
38 <b><a href="../resources/mimefilters.html">&lt;MIMEFilters&gt;</a></b>
39 text/html; m2h_text_plain::filter; mhtxtplain.pl
40 text/x-html; m2h_text_plain::filter; mhtxtplain.pl
41 <b>&lt;/MIMEFilters&gt;</b>
42
43 &lt;!-- We use media-type method to define arguments since we do not
44 want to interfere with how text/plain may be processed.
45 We disable flowed detection since raw HTML may cause undesired
46 results.
47 --&gt;
48 <b><a href="../resources/mimeargs.html">&lt;MIMEArgs&gt;</a></b>
49 text/html; disableflowed
50 text/x-html; disableflowed
51 <b>&lt;/MIMEArgs&gt;</b>
52
53 </pre>
54 </body>
55 </html>