Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

How to protect my gridview from xss?

$
0
0

I have a gridview that has a field that I want to edit.  So I converted it to a template.  It has a multiline textbox in the edit template.   It works fine, until I try to simulate a hacker assault and I put in tags such as <script> in the textbox.  When I hit the gridview UPDATE button, I get a big error message.

I haven't tried this in other regular edit fields, but it certainly causes a problem here.

Any help is appreciated


Viewing all articles
Browse latest Browse all 5678

Trending Articles



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