| 1 |
<html> |
| 2 |
<body> |
| 3 |
<pre> |
| 4 |
<!-- ================================================================== --> |
| 5 |
<!-- File: |
| 6 |
$Id: secure.mrc,v 1.2 2011/01/09 05:23:25 ehood Exp $ |
| 7 |
Author: |
| 8 |
Earl Hood <earl @ earlhood . com> |
| 9 |
|
| 10 |
Description: |
| 11 |
MHonArc, <http://www.mhonarc.org/>, resource file for |
| 12 |
providing a more secure archive. |
| 13 |
--> |
| 14 |
<!-- ================================================================== --> |
| 15 |
|
| 16 |
<!-- 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 |
--> |
| 24 |
|
| 25 |
<!-- Many HTML message have an alternative text/plain part, |
| 26 |
therefore, for such messages, lets give preference to |
| 27 |
text/plain part. |
| 28 |
--> |
| 29 |
<b><a href="../resources/mimealtprefs.html"><MIMEAltPrefs></a></b> |
| 30 |
text/plain |
| 31 |
text/html |
| 32 |
<b></MIMEAltPrefs></b> |
| 33 |
|
| 34 |
<!-- 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 |
--> |
| 38 |
<b><a href="../resources/mimefilters.html"><MIMEFilters></a></b> |
| 39 |
text/html; m2h_text_plain::filter; mhtxtplain.pl |
| 40 |
text/x-html; m2h_text_plain::filter; mhtxtplain.pl |
| 41 |
<b></MIMEFilters></b> |
| 42 |
|
| 43 |
<!-- 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 |
--> |
| 48 |
<b><a href="../resources/mimeargs.html"><MIMEArgs></a></b> |
| 49 |
text/html; disableflowed |
| 50 |
text/x-html; disableflowed |
| 51 |
<b></MIMEArgs></b> |
| 52 |
|
| 53 |
</pre> |
| 54 |
</body> |
| 55 |
</html> |