多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

You are implementing a Web page that displays text that was typed by a user. You need to display the user input in the Web page so that a cross-site scripting attack will be prevented. What should you do?()

  • A、Call document.write.
  • B、Call Response.Write.
  • C、Call HttpUtility.UrlEncode.
  • D、Call HttpUtility.HtmlEncode.
正确答案:D
答案解析:
进入题库查看解析

微信扫一扫手机做题