Article sections

    About the Microsoft Anti-Cross Site Scripting Library

    The Microsoft Anti-Cross Site Scripting Library is a powerful tool that helps you to protect your web applications from cross-site scripting attacks without adversely affecting its UI.
    The Library also comes inbuilt with encoding algorithms for HTML, XML, CSS and JavaScript.


    Using the Microsoft Anti-Cross Site Scripting Library to Mitigate XSS Attacks

    1 – Download and install the Microsoft Anti-Cross Site Scripting Library.

    ms anti xss install

    2 – Add the AntiXssLibrary.dll from the installation directory (C:\Program Files (x86)\Microsoft Information Security\AntiXSS Library v4.2\) to your Visual Studio’s Solution References directory.

    msaxss-refmodule
    msaxss-code

    XSS – Non-compliant
    xss-non-compliant

    XSS – Compliant
    xss-compliant

    Audilitics

    Euriun LMS

    in Web Security