Answer:
It is used to reduce the risk of cross-site scripting attacks for pages in ASP.NET applications. error messages like "Potentially dangerous value' are generated
because of this attribute.
example: in a textbox, if we write <script></script>
and then try to retreive its value, this attribute will result in an error.
It is true by default and can also be set to false.
Asked In: Many Interviews |
Alert Moderator