Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

Avioding XSS in framework 2.0

$
0
0

Hi Friends,

I want to avoid XSS attacks on my web application. As i know we can do using AntiXSS nuget package.

But in my case i am using framework 2.0.. How can i implement AntiXSS and SQL injection in my application.

public void testmethod(string user_input){

var a = DBCall(user_input);

}

here i want to validate or sanitize user input.


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>