HttpUtility.HtmlEncode


HttpUtility.HtmlEncode를 통하여 문자열을 html로 변환할 수 있다. 이를 통하여 악의적인 코드가 데이터베이스로 들어갔다가 다시 웹페이지가 이를 읽어서 랜더링할때 동작하는 것을 방지하는데 이용될 수 있다.