Using Microsoft AntiXSS 1.5
This has been out for a while, however I just tried to reference it and forgot where it was located. Microsoft should really make accessing this a lot easier - would have been nice for it to appear in the Add Reference dialog. Anyway, its located at:
C:\Program Files\Microsoft Corporation\Anti-Cross Site Scripting Library V1.5\Library\.Net 2.0\AntiXssLibrary.dll
Then its
using Microsoft.Security.Application;
string pageTitle = AntiXss.HtmlEncode(Request.QueryString["Page"]);
Remember: Always HtmlEncode untrusted text.
Download it from






Blogger comments
Useful!
Thanks,