security - Do you HtmlEncode during input or output? -
when call microsoft.security.application.antixss.htmlencode
? do when user submits information or do when you're displaying information?
how basic stuff first name, last name, city, state, zip?
you when displaying information. preserve original entered, convert display on web page. let's displaying in other way, exporting excel. in case, you'd want export preserved original.
encode every single string.
Comments
Post a Comment