asp.net - Anti-XSS library - Use with ASP .Net website (vs. web application)? -
the results of security audit revealed our site may vulnerable xss attacks. protection have against using default validaterequest="true" on pages. have been looking microsoft's anti-xss library , after watching this video implement security runtime engine module protect pages rather manually encoding each individual item [1].
the problem having generating antixssmodule.config file using sre configuration generator. looking assembly our site built using website project , not web application project , therefor not built assembly. still able generate config file somehow can use sre, or perhaps there download-able version of file commonly exploited controls defined?
[1] can't use cat.net tool discover possible vulnerabilities because tool looking assembly also.
basically no, can't generate without target assembly, website projects won't work. could, of course, use default web.config gets microsoft web controls (i believe).
however, sre meant patch around vulnerable web sites until can them fixed, it's not permanent solution. better approach address underlying issues , make sure you're encoding untrusted input before outputting browser.
Comments
Post a Comment