Last post May 06, 2019 07:55 AM by Jenifer Jiang
May 04, 2019 03:20 PM|ashvinrs83|LINK
I am developing an asp.net mvc applcation with angularJS 1.6.
I am trying to implement XSS prevention in my application. I had tried to use angular ng sanitize in my application but find it not working.
May 06, 2019 07:55 AM|Jenifer Jiang|LINK
According to your description, one suggestion is that you could search for the "AntiXSS" package in the NuGet package and install it.
After the installation, you will see two new libraries in your projects references folder: AntiXssLibrary and HtmlSantizationLibrary.
Then you could modify the code in the controller simply to prevent XSS.
The key point is to use
For more, you could refer to: