By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,894 Members | 2,002 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,894 IT Pros & Developers. It's quick & easy.

Encode Textbox

P: n/a
How to encode a textbox to avoid cross site scripting?

Thanks
K

Sep 28 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
lookup validateRequest="true"
http://msdn2.microsoft.com/en-us/lib...terequest.aspx

It forces the runtime to evaluate submitted form data for potential xss
attacks.

Also, a good link that goes 1 step further when that txtbox needs to allow
html in it
http://weblogs.asp.net/mhawley/archi.../15/89762.aspx

--
Regards

John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com
"kvicky" <ka**************@gmail.comwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
How to encode a textbox to avoid cross site scripting?

Thanks
K

Sep 28 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.