asp.net mvc - MVC4 should i use HttpUtility for validating input -


I was surprised that I should validate input

for all I have validated data < / Code> not attaching the default framework it handles, so I should add some extra security like HttpUtility.HtmlEncode to input values ​​in symbolic terms.

Is there no risk?

You are defining the data annotation verifier, it is rendering from there.


Comments

Popular posts from this blog

mysql - How to enter php data into a html multiple select box -

java - Can't add JTree to JPanel of a JInternalFrame -

c++ - Cassandra datastax cpp driver - avoiding unnecessary copies -