一 .NET中的富文本过滤方法
如果我们自己开发一个过滤的类库,可能效率上想必微软XSS Library的低,考虑的情况,也可能没他们的周全,还有就是对程序改动,可能小点。等等各种影响,我们可以使用 微软提供的库文件Microsoft Anti-Cross Site Scripting Library V3.1,下载地址为http://www.microsoft.com/downloads/details.aspx?familyid=051ee83c-5ccf-48ed-8463-02f56a6bfc09&displaylang=en&tm
使用方法参考:
http://hi.baidu.com/ucfar/blog/item/75f362cbc1aa6e4cf21fe70a.html
http://blog.miniasp.com/post/2009/07/Recommand-Microsoft-Anti-Cross-Site-Scripting-Library-V30.aspx
http://antixss.codeplex.com/Thread/List.aspx
MSDN手册
http://item.taobao.com/auction/item_detail--.jhtml?taomi=8aR2LQR6GJKu6OoxTXJLLSWDtrJLJaOzRwmVRFIcoNX2aYTnoum8npjpnTtDCMFYcBHrk12gVB6%2FFq4L0c9ntbl1fmJZPPPXpG92bTg7jXFbhhUA%2BkjVNboPPvRwGCDLtFsfB9glu7Cfd6xhn5Q%2Fc1mlhb6%2Bv9cYvJiqzszSZbCQpyQs46Sqp62DUqOzLwTpwQUu6bUEZDwZpTkEMyus2KGigz%2FIO1ESVgbGPb9cgz217v3XS4RWMPwuWpfBc7%2BfcQ%3D%3D&ref=http%3A%2F%2Fsearch8.taobao.com%2Fbrowse%2F0%2Fn-g%2Cnvwv6mjtgiytqmrxhbptaxzq----------------0-----------------------g%2Cytimvp6n4lgno----------------40-grid-coefp-0-all-0.htm%3Falhlog%3Ds8-cat-banner&ali_trackid=2:mm_13218278_0_0:105549013_3_814985273