web dunia
web dunia

Reputation: 9929

Method to eliminate cross site scripts

My application has lot of cross site scripting vulnerablities. I need a common C# function so that will avoid\eliminate all the cross site scripts.

Upvotes: 0

Views: 93

Answers (1)

nw.
nw.

Reputation: 5155

Server.HtmlEncode() will render them harmless.

Upvotes: 1

Related Questions