문제

Does an ASP.NET application protect against cross-site scripting by default? I have read that the machine.config file has an attribute that is set to on by default and this protects against cross-site scripting? Is this true?

도움이 되었습니까?

해결책

<system.web>
  <pages buffer="true" validateRequest="true" />
</system.web>

you can use antxss library as addition

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top